#412390#412390

#412390 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.166 H 287.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#412390
RGBrgb(65, 35, 144)
HSLhsl(257, 61%, 35%)
HSVhsv(257, 76%, 56%)
CMYKcmyk(54.9%, 75.7%, 0%, 43.5%)
CIE-LABlab(24.76, 41.71, -55.07)
CIE-LCHlch(24.76, 69.08, 307.14°)
OKLaboklab(37% 0.0512 -0.1584)
OKLCHoklch(37% 0.166 287.9)
XYZxyz(7.8136, 4.3391, 26.8060)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412390 #729023
analogous
#233B90 #412390 #782390
triadic
#412390 #904123 #239041
tetradic
#412390 #90233B #729023 #239078
square
#412390 #90233B #729023 #239078
split-complementary
#412390 #907823 #3B9023
monochromatic
#150B2E #2B175F #412390 #572FC1 #7A57D6

Accessibility & contrast

On white

11.24
#412390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#412390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412390
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412390#FFFFFF#000000##FFFFFF
##4123901.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#214158
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412390;
/* rgb */ color: rgb(65, 35, 144);
/* oklch */ color: oklch(37.0% 0.166 287.9);
Tailwind
colors: {
  custom: {
    50: '#7f61b2',
    500: '#412390',
    950: '#000000',
  },
}
SCSS
$custom: #412390;
$custom-light: #7f61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#412390",
  "rgb": {
    "r": 65,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 256.514,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36996,
    "c": 0.16644,
    "h": 287.9
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#412390
secondary
#9EBA54
accent
#E444B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412390

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

Preview Lab → · Contrast checker → · Palette generator →

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