#412592#412592

#412592 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.167 H 287.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#412592
RGBrgb(65, 37, 146)
HSLhsl(255, 60%, 36%)
HSVhsv(255, 75%, 57%)
CMYKcmyk(55.5%, 74.7%, 0%, 42.7%)
CIE-LABlab(25.33, 41.25, -55.38)
CIE-LCHlch(25.33, 69.05, 306.68°)
OKLaboklab(37.45% 0.0491 -0.1593)
OKLCHoklch(37.45% 0.167 287.1)
XYZxyz(8.0283, 4.5219, 27.6383)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412592 #769225
analogous
#253F92 #412592 #772592
triadic
#412592 #924125 #259241
tetradic
#412592 #92253F #769225 #259277
square
#412592 #92253F #769225 #259277
split-complementary
#412592 #927725 #3F9225
monochromatic
#160C30 #2B1961 #412592 #5731C3 #7B5CD6

Accessibility & contrast

On white

11.03
#412592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#412592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412592
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412592#FFFFFF#000000##FFFFFF
##4125921.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003990
Tritanopia (blue-blind)
#1F4359
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #412592;
/* rgb */ color: rgb(65, 37, 146);
/* oklch */ color: oklch(37.5% 0.167 287.1);
Tailwind
colors: {
  custom: {
    50: '#7f63b3',
    500: '#412592',
    950: '#000000',
  },
}
SCSS
$custom: #412592;
$custom-light: #7f63b3;
$custom-dark: #000000;
JSON
{
  "hex": "#412592",
  "rgb": {
    "r": 65,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 255.413,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37453,
    "c": 0.16667,
    "h": 287.1
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#412592
secondary
#A1BA58
accent
#E345BA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412592

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

Preview Lab → · Contrast checker → · Palette generator →

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