#412289#412289

#412289 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.159 H 289.8°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#412289
RGBrgb(65, 34, 137)
HSLhsl(258, 60%, 34%)
HSVhsv(258, 75%, 54%)
CMYKcmyk(52.6%, 75.2%, 0%, 46.3%)
CIE-LABlab(23.91, 40.16, -52.11)
CIE-LCHlch(23.91, 65.79, 307.63°)
OKLaboklab(36.2% 0.0538 -0.1497)
OKLCHoklch(36.2% 0.159 289.8)
XYZxyz(7.2661, 4.0737, 24.0655)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412289 #6A8922
analogous
#223689 #412289 #742289
triadic
#412289 #894122 #228941
tetradic
#412289 #892236 #6A8922 #228974
square
#412289 #892236 #6A8922 #228974
split-complementary
#412289 #897422 #368922
monochromatic
#120A27 #2A1658 #412289 #582EBA #7951D4

Accessibility & contrast

On white

11.57
#412289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#412289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412289
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412289#FFFFFF#000000##FFFFFF
##4122891.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412289;
/* rgb */ color: rgb(65, 34, 137);
/* oklch */ color: oklch(36.2% 0.159 289.8);
Tailwind
colors: {
  custom: {
    50: '#7e60ac',
    500: '#412289',
    950: '#000000',
  },
}
SCSS
$custom: #412289;
$custom-light: #7e60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412289",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 258.058,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36195,
    "c": 0.15907,
    "h": 289.8
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#412289
secondary
#98B84F
accent
#E344B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412289

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

Preview Lab → · Contrast checker → · Palette generator →

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