#412389#412389

#412389 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.158 H 289.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#412389
RGBrgb(65, 35, 137)
HSLhsl(258, 59%, 34%)
HSVhsv(258, 74%, 54%)
CMYKcmyk(52.6%, 74.5%, 0%, 46.3%)
CIE-LABlab(24.10, 39.63, -51.80)
CIE-LCHlch(24.10, 65.22, 307.42°)
OKLaboklab(36.33% 0.053 -0.1488)
OKLCHoklch(36.33% 0.158 289.6)
XYZxyz(7.2951, 4.1317, 24.0752)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412389 #6B8923
analogous
#233889 #412389 #742389
triadic
#412389 #894123 #238941
tetradic
#412389 #892338 #6B8923 #238974
square
#412389 #892338 #6B8923 #238974
split-complementary
#412389 #897423 #388923
monochromatic
#130A28 #2A1758 #412389 #582FBA #7953D3

Accessibility & contrast

On white

11.50
#412389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#412389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412389
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412389#FFFFFF#000000##FFFFFF
##4123891.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#273E54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412389;
/* rgb */ color: rgb(65, 35, 137);
/* oklch */ color: oklch(36.3% 0.158 289.6);
Tailwind
colors: {
  custom: {
    50: '#7d61ac',
    500: '#412389',
    950: '#000000',
  },
}
SCSS
$custom: #412389;
$custom-light: #7d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412389",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 257.647,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36328,
    "c": 0.15792,
    "h": 289.6
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#412389
secondary
#99B751
accent
#E245B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412389

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

Preview Lab → · Contrast checker → · Palette generator →

#412389 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva