Nerdulator> put something in

Recognised as Colour

#38125D

  • #38125D
  • Violet
  • Dark
  • Nearest: Midnight blue

#38125D is a violet with RGB values 56, 18, 93 and HSL 270°, 68%, 22%. It is a dark colour, so white text on it reaches 14.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#38125D#38125D
HEX#38125D
RGBrgb(56, 18, 93)
RGB (0–1)0.2196, 0.0706, 0.3647
RGB percentages22%, 7.1%, 36.5%
HSLhsl(270.4, 67.6%, 21.8%)
HSV / HSBhsv(270.4, 80.6%, 36.5%)
CMYK39.8%, 80.6%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,674,717
CSS custom property--colour: #38125D;

Brightness & contrast

Relative luminance0.02064WCAG 2.x, 0 is black and 1 is white
Perceived brightness46 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.86:1
Contrast with white14.86:1WCAG normal text: AAA
Contrast with black1.41:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#C7EDA2

Colour vision & accessibility

Protanopia#00275Fno red cones; affects about 1% of men; ΔE 21.7 from the original
Deuteranopia#00275Cno green cones; the most common form, about 1% of men; ΔE 23.1 from the original
Tritanopia#302537no blue cones; rare, and affects men and women equally; ΔE 36.9 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.86:1WCAG large text: AAA
Contrast with black, large text1.41:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#375D12
Analogous#13125D, #5D125C
Triadic#5D3812, #125D38
Split complementary#5C5D12, #125D13
Tetradic#5D1312, #375D12, #125C5D

Tints, shades & saturation

Lighter +40%#9E5CDF
Lighter +30%#8531D7
Lighter +20%#6B23B2
Lighter +10%#521A88
Darker −10%#1E0A32
Darker −20%#050108
Darker −30%#000000
Darker −40%#000000
More saturated +25%#38046B
Less saturated −25%#38204F

Channel breakdown

R56
G18
B93
Red56 (22%)
Green18 (7.1%)
Blue93 (36.5%)
Hue270.4°
Saturation (HSL)67.57%
Lightness21.76%
Dominant channelBlue
Hex per channelR 38 · G 12 · B 5D

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 “38125d” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.