Nerdulator> put something in

Recognised as Colour

#38226C

  • #38226C
  • Violet
  • Dark
  • Nearest: Midnight blue

#38226C is a violet with RGB values 56, 34, 108 and HSL 258°, 52%, 28%. It is a dark colour, so white text on it reaches 13:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#38226C#38226C
HEX#38226C
RGBrgb(56, 34, 108)
RGB (0–1)0.2196, 0.1333, 0.4235
RGB percentages22%, 13.3%, 42.4%
HSLhsl(257.8, 52.1%, 27.8%)
HSV / HSBhsv(257.8, 68.5%, 42.4%)
CMYK48.1%, 68.5%, 0%, 57.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,678,828
CSS custom property--colour: #38226C;

Brightness & contrast

Relative luminance0.03068WCAG 2.x, 0 is black and 1 is white
Perceived brightness54.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.02:1
Contrast with white13.02:1WCAG normal text: AAA
Contrast with black1.61:1WCAG normal text: Fail
Greyscale equivalent#2C2C2C
Inverted#C7DD93

Colour vision & accessibility

Protanopia#00326Eno red cones; affects about 1% of men; ΔE 18.6 from the original
Deuteranopia#002F6Ano green cones; the most common form, about 1% of men; ΔE 18.2 from the original
Tritanopia#283443no blue cones; rare, and affects men and women equally; ΔE 41.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text13.02:1WCAG large text: AAA
Contrast with black, large text1.61:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.14, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#566C22
Analogous#22316C, #5D226C
Triadic#6C3822, #226C38
Split complementary#6C5D22, #316C22
Tetradic#6C2231, #566C22, #226C5D

Tints, shades & saturation

Lighter +40%#9C82D8
Lighter +30%#7D5BCC
Lighter +20%#603ABA
Lighter +10%#4C2E93
Darker −10%#241645
Darker −20%#100A1E
Darker −30%#000000
Darker −40%#000000
More saturated +25%#31107E
Less saturated −25%#3F345A

Channel breakdown

R56
G34
B108
Red56 (22%)
Green34 (13.3%)
Blue108 (42.4%)
Hue257.84°
Saturation (HSL)52.11%
Lightness27.84%
Dominant channelBlue
Hex per channelR 38 · G 22 · B 6C

Keep nerding

Every link below is a page Nerdulator can generate from what it already knows about this value.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “38226c” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.