#421366#421366

#421366 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.136 H 305.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#421366
RGBrgb(66, 19, 102)
HSLhsl(274, 69%, 24%)
HSVhsv(274, 81%, 40%)
CMYKcmyk(35.3%, 81.4%, 0%, 60%)
CIE-LABlab(18.29, 38.00, -38.88)
CIE-LCHlch(18.29, 54.36, 314.34°)
OKLaboklab(31.28% 0.0786 -0.1107)
OKLCHoklch(31.28% 0.136 305.4)
XYZxyz(4.8774, 2.5833, 12.8095)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421366 #376613
analogous
#181366 #421366 #661360
triadic
#421366 #664213 #136642
tetradic
#421366 #661813 #376613 #136066
square
#421366 #661813 #376613 #136066
split-complementary
#421366 #606613 #136618
monochromatic
#11051A #210932 #421366 #631D9A #8526CD

Accessibility & contrast

On white

13.85
#421366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421366
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421366#FFFFFF#000000##FFFFFF
##4213661.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#3B283C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421366;
/* rgb */ color: rgb(66, 19, 102);
/* oklch */ color: oklch(31.3% 0.136 305.4);
Tailwind
colors: {
  custom: {
    50: '#7b5792',
    500: '#421366',
    950: '#000000',
  },
}
SCSS
$custom: #421366;
$custom-light: #7b5792;
$custom-dark: #000000;
JSON
{
  "hex": "#421366",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 273.976,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3128,
    "c": 0.13575,
    "h": 305.4
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#421366
secondary
#649D37
accent
#EB3C88
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421366

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

Preview Lab → · Contrast checker → · Palette generator →

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