#412694#412694

#412694 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.168 H 286.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#412694
RGBrgb(65, 38, 148)
HSLhsl(255, 59%, 36%)
HSVhsv(255, 74%, 58%)
CMYKcmyk(56.1%, 74.3%, 0%, 42%)
CIE-LABlab(25.71, 41.31, -55.99)
CIE-LCHlch(25.71, 69.58, 306.42°)
OKLaboklab(37.78% 0.0478 -0.1611)
OKLCHoklch(37.78% 0.168 286.5)
XYZxyz(8.2168, 4.6477, 28.4754)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412694 #799426
analogous
#264294 #412694 #782694
triadic
#412694 #944126 #269441
tetradic
#412694 #942642 #799426 #269478
square
#412694 #942642 #799426 #269478
split-complementary
#412694 #947826 #429426
monochromatic
#160D33 #2C1963 #412694 #5633C5 #7C5FD6

Accessibility & contrast

On white

10.88
#412694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#412694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412694
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412694#FFFFFF#000000##FFFFFF
##4126941.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#1C445B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #412694;
/* rgb */ color: rgb(65, 38, 148);
/* oklch */ color: oklch(37.8% 0.168 286.5);
Tailwind
colors: {
  custom: {
    50: '#7f63b4',
    500: '#412694',
    950: '#000000',
  },
}
SCSS
$custom: #412694;
$custom-light: #7f63b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412694",
  "rgb": {
    "r": 65,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 254.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.16801,
    "h": 286.5
  },
  "luminance": 0.04648
}

Semantic roles & 50–950 ramp

primary
#412694
secondary
#A3BB5B
accent
#E245BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #412694

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

Preview Lab → · Contrast checker → · Palette generator →

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