#412485#412485

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

Color values

HEX#412485
RGBrgb(65, 36, 133)
HSLhsl(258, 57%, 33%)
HSVhsv(258, 73%, 52%)
CMYKcmyk(51.1%, 72.9%, 0%, 47.8%)
CIE-LABlab(23.93, 37.90, -49.58)
CIE-LCHlch(23.93, 62.40, 307.40°)
OKLaboklab(36.09% 0.0529 -0.1423)
OKLCHoklch(36.09% 0.152 290.4)
XYZxyz(7.0433, 4.0787, 22.6019)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412485 #688524
analogous
#243885 #412485 #712485
triadic
#412485 #854124 #248541
tetradic
#412485 #852438 #688524 #248571
square
#412485 #852438 #688524 #248571
split-complementary
#412485 #857124 #388524
monochromatic
#120A25 #291755 #412485 #5931B5 #7853D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##412485#FFFFFF#000000##FFFFFF
##4124851.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003783
Tritanopia (blue-blind)
#2A3D52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #412485;
/* rgb */ color: rgb(65, 36, 133);
/* oklch */ color: oklch(36.1% 0.152 290.4);
Tailwind
colors: {
  custom: {
    50: '#7d61a9',
    500: '#412485',
    950: '#000000',
  },
}
SCSS
$custom: #412485;
$custom-light: #7d61a9;
$custom-dark: #000000;
JSON
{
  "hex": "#412485",
  "rgb": {
    "r": 65,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 257.938,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36093,
    "c": 0.15178,
    "h": 290.4
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#412485
secondary
#97B450
accent
#E147B3
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #412485

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

Preview Lab → · Contrast checker → · Palette generator →

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