#412993#412993

#412993 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.1% C 0.163 H 286.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#412993
RGBrgb(65, 41, 147)
HSLhsl(254, 56%, 37%)
HSVhsv(254, 72%, 58%)
CMYKcmyk(55.8%, 72.1%, 0%, 42.4%)
CIE-LABlab(26.20, 39.36, -54.56)
CIE-LCHlch(26.20, 67.28, 305.81°)
OKLaboklab(38.1% 0.0454 -0.1569)
OKLCHoklch(38.1% 0.163 286.1)
XYZxyz(8.2378, 4.8158, 28.0936)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412993 #7B9329
analogous
#294693 #412993 #762993
triadic
#412993 #934129 #299341
tetradic
#412993 #932946 #7B9329 #299376
square
#412993 #932946 #7B9329 #299376
split-complementary
#412993 #937629 #469329
monochromatic
#170E33 #2C1C63 #412993 #5636C3 #7C63D3

Accessibility & contrast

On white

10.70
#412993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#412993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412993
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412993#FFFFFF#000000##FFFFFF
##4129931.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#1D455B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #412993;
/* rgb */ color: rgb(65, 41, 147);
/* oklch */ color: oklch(38.1% 0.163 286.1);
Tailwind
colors: {
  custom: {
    50: '#7f65b4',
    500: '#412993',
    950: '#000000',
  },
}
SCSS
$custom: #412993;
$custom-light: #7f65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412993",
  "rgb": {
    "r": 65,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 253.585,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38104,
    "c": 0.16334,
    "h": 286.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#412993
secondary
#A5B95E
accent
#E048BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #412993

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

Preview Lab → · Contrast checker → · Palette generator →

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