#412F73#412F73

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

Color values

HEX#412F73
RGBrgb(65, 47, 115)
HSLhsl(256, 42%, 32%)
HSVhsv(256, 59%, 45%)
CMYKcmyk(43.5%, 59.1%, 0%, 54.9%)
CIE-LABlab(24.93, 25.80, -36.55)
CIE-LCHlch(24.93, 44.74, 305.22°)
OKLaboklab(36.36% 0.0422 -0.104)
OKLCHoklch(36.36% 0.112 292.1)
XYZxyz(6.2902, 4.3945, 16.7331)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412F73 #61732F
analogous
#2F3F73 #412F73 #632F73
triadic
#412F73 #73412F #2F7341
tetradic
#412F73 #732F3F #61732F #2F7363
square
#412F73 #732F3F #61732F #2F7363
split-complementary
#412F73 #73632F #3F732F
monochromatic
#100B1C #281D48 #412F73 #5A419E #785FBE

Accessibility & contrast

On white

11.18
#412F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412F73
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412F73#FFFFFF#000000##FFFFFF
##412F731.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C75
Deuteranopia (green-blind)
#0F3A72
Tritanopia (blue-blind)
#333E4C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412f73;
/* rgb */ color: rgb(65, 47, 115);
/* oklch */ color: oklch(36.4% 0.112 292.1);
Tailwind
colors: {
  custom: {
    50: '#79689c',
    500: '#412f73',
    950: '#000000',
  },
}
SCSS
$custom: #412f73;
$custom-light: #79689c;
$custom-dark: #000000;
JSON
{
  "hex": "#412f73",
  "rgb": {
    "r": 65,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 255.882,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36365,
    "c": 0.11222,
    "h": 292.1
  },
  "luminance": 0.04395
}

Semantic roles & 50–950 ramp

primary
#412F73
secondary
#90A45A
accent
#D256B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #412F73

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

Preview Lab → · Contrast checker → · Palette generator →

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