#412288#412288

#412288 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.158 H 290.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#412288
RGBrgb(65, 34, 136)
HSLhsl(258, 60%, 33%)
HSVhsv(258, 75%, 53%)
CMYKcmyk(52.2%, 75%, 0%, 46.7%)
CIE-LABlab(23.82, 39.87, -51.63)
CIE-LCHlch(23.82, 65.24, 307.67°)
OKLaboklab(36.1% 0.0541 -0.1483)
OKLCHoklch(36.1% 0.158 290)
XYZxyz(7.1947, 4.0451, 23.6895)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412288 #698822
analogous
#223688 #412288 #742288
triadic
#412288 #884122 #228841
tetradic
#412288 #882236 #698822 #228874
square
#412288 #882236 #698822 #228874
split-complementary
#412288 #887422 #368822
monochromatic
#120A26 #2A1657 #412288 #582EB9 #7951D3

Accessibility & contrast

On white

11.61
#412288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412288
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412288#FFFFFF#000000##FFFFFF
##4122881.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #412288;
/* rgb */ color: rgb(65, 34, 136);
/* oklch */ color: oklch(36.1% 0.158 290.0);
Tailwind
colors: {
  custom: {
    50: '#7d60ac',
    500: '#412288',
    950: '#000000',
  },
}
SCSS
$custom: #412288;
$custom-light: #7d60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#412288",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 258.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.361,
    "c": 0.15785,
    "h": 290
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#412288
secondary
#97B74F
accent
#E345B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #412288

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

Preview Lab → · Contrast checker → · Palette generator →

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