#412388#412388

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

Color values

HEX#412388
RGBrgb(65, 35, 136)
HSLhsl(258, 59%, 34%)
HSVhsv(258, 74%, 53%)
CMYKcmyk(52.2%, 74.3%, 0%, 46.7%)
CIE-LABlab(24.01, 39.34, -51.32)
CIE-LCHlch(24.01, 64.67, 307.47°)
OKLaboklab(36.23% 0.0532 -0.1474)
OKLCHoklch(36.23% 0.157 289.8)
XYZxyz(7.2237, 4.1031, 23.6991)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412388 #6A8823
analogous
#233788 #412388 #732388
triadic
#412388 #884123 #238841
tetradic
#412388 #882337 #6A8823 #238873
square
#412388 #882337 #6A8823 #238873
split-complementary
#412388 #887323 #378823
monochromatic
#120A27 #2A1657 #412388 #5830B9 #7953D3

Accessibility & contrast

On white

11.53
#412388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#412388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412388
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412388#FFFFFF#000000##FFFFFF
##4123881.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#283E53
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412388;
/* rgb */ color: rgb(65, 35, 136);
/* oklch */ color: oklch(36.2% 0.157 289.8);
Tailwind
colors: {
  custom: {
    50: '#7d61ac',
    500: '#412388',
    950: '#000000',
  },
}
SCSS
$custom: #412388;
$custom-light: #7d61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412388",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 257.822,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36234,
    "c": 0.15669,
    "h": 289.8
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#412388
secondary
#98B750
accent
#E246B4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412388

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

Preview Lab → · Contrast checker → · Palette generator →

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