#412F74#412F74

#412F74 is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.4% C 0.114 H 291.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#412F74
RGBrgb(65, 47, 116)
HSLhsl(256, 42%, 32%)
HSVhsv(256, 59%, 45%)
CMYKcmyk(44%, 59.5%, 0%, 54.5%)
CIE-LABlab(25.01, 26.11, -37.07)
CIE-LCHlch(25.01, 45.34, 305.16°)
OKLaboklab(36.44% 0.0422 -0.1055)
OKLCHoklch(36.44% 0.114 291.8)
XYZxyz(6.3480, 4.4176, 17.0378)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F74 #62742F
analogous
#2F4074 #412F74 #642F74
triadic
#412F74 #74412F #2F7441
tetradic
#412F74 #742F40 #62742F #2F7464
square
#412F74 #742F40 #62742F #2F7464
split-complementary
#412F74 #74642F #40742F
monochromatic
#100C1D #291D48 #412F74 #5941A0 #785FBE

Accessibility & contrast

On white

11.15
#412F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412F74
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F74#FFFFFF#000000##FFFFFF
##412F741.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C76
Deuteranopia (green-blind)
#0D3A72
Tritanopia (blue-blind)
#333E4C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412f74;
/* rgb */ color: rgb(65, 47, 116);
/* oklch */ color: oklch(36.4% 0.114 291.8);
Tailwind
colors: {
  custom: {
    50: '#79689c',
    500: '#412f74',
    950: '#000000',
  },
}
SCSS
$custom: #412f74;
$custom-light: #79689c;
$custom-dark: #000000;
JSON
{
  "hex": "#412f74",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 255.652,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36441,
    "c": 0.11364,
    "h": 291.8
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#412F74
secondary
#91A55A
accent
#D256B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412F74

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#412F74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva