#412294#412294

#412294 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.172 H 287.2°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#412294
RGBrgb(65, 34, 148)
HSLhsl(256, 63%, 36%)
HSVhsv(256, 77%, 58%)
CMYKcmyk(56.1%, 77%, 0%, 42%)
CIE-LABlab(24.97, 43.40, -57.20)
CIE-LCHlch(24.97, 71.80, 307.19°)
OKLaboklab(37.26% 0.051 -0.1646)
OKLCHoklch(37.26% 0.172 287.2)
XYZxyz(8.0957, 4.4056, 28.4350)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#412294 #759422
analogous
#223C94 #412294 #7A2294
triadic
#412294 #944122 #229441
tetradic
#412294 #94223C #759422 #22947A
square
#412294 #94223C #759422 #22947A
split-complementary
#412294 #947A22 #3C9422
monochromatic
#150B30 #2B1762 #412294 #572DC6 #7B58D9

Accessibility & contrast

On white

11.16
#412294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#412294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #412294
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##412294#FFFFFF#000000##FFFFFF
##4122941.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003892
Tritanopia (blue-blind)
#1D425A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #412294;
/* rgb */ color: rgb(65, 34, 148);
/* oklch */ color: oklch(37.3% 0.172 287.2);
Tailwind
colors: {
  custom: {
    50: '#7f61b4',
    500: '#412294',
    950: '#000000',
  },
}
SCSS
$custom: #412294;
$custom-light: #7f61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#412294",
  "rgb": {
    "r": 65,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 256.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3726,
    "c": 0.17231,
    "h": 287.2
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#412294
secondary
#A1BD55
accent
#E642B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #412294

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

Preview Lab → · Contrast checker → · Palette generator →

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