#412293#412293

#412293 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.171 H 287.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#412293
RGBrgb(65, 34, 147)
HSLhsl(256, 62%, 35%)
HSVhsv(256, 77%, 58%)
CMYKcmyk(55.8%, 76.9%, 0%, 42.4%)
CIE-LABlab(24.87, 43.11, -56.75)
CIE-LCHlch(24.87, 71.26, 307.22°)
OKLaboklab(37.16% 0.0512 -0.1633)
OKLCHoklch(37.16% 0.171 287.4)
XYZxyz(8.0169, 4.3740, 28.0199)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412293 #749322
analogous
#223B93 #412293 #792293
triadic
#412293 #934122 #229341
tetradic
#412293 #93223B #749322 #229379
square
#412293 #93223B #749322 #229379
split-complementary
#412293 #937922 #3B9322
monochromatic
#150B30 #2B1761 #412293 #572DC5 #7B57D8

Accessibility & contrast

On white

11.20
#412293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #412293
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412293#FFFFFF#000000##FFFFFF
##4122931.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#1E4259
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412293;
/* rgb */ color: rgb(65, 34, 147);
/* oklch */ color: oklch(37.2% 0.171 287.4);
Tailwind
colors: {
  custom: {
    50: '#7f61b4',
    500: '#412293',
    950: '#000000',
  },
}
SCSS
$custom: #412293;
$custom-light: #7f61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412293",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 256.46,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.17111,
    "h": 287.4
  },
  "luminance": 0.04374
}

Semantic roles & 50–950 ramp

primary
#412293
secondary
#A0BC55
accent
#E542B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412293

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

Preview Lab → · Contrast checker → · Palette generator →

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