#421679#421679

#421679 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.153 H 297.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#421679
RGBrgb(66, 22, 121)
HSLhsl(267, 69%, 28%)
HSVhsv(267, 82%, 47%)
CMYKcmyk(45.5%, 81.8%, 0%, 52.5%)
CIE-LABlab(20.49, 41.63, -47.60)
CIE-LCHlch(20.49, 63.24, 311.17°)
OKLaboklab(33.36% 0.0703 -0.1363)
OKLCHoklch(33.36% 0.153 297.3)
XYZxyz(5.9840, 3.1124, 18.3709)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421679 #4D7916
analogous
#161B79 #421679 #731679
triadic
#421679 #794216 #167942
tetradic
#421679 #79161B #4D7916 #167973
square
#421679 #79161B #4D7916 #167973
split-complementary
#421679 #797316 #1B7916
monochromatic
#0E051A #260D45 #421679 #5E1FAD #7B30D9

Accessibility & contrast

On white

12.94
#421679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#421679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421679
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421679#FFFFFF#000000##FFFFFF
##4216791.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#333248
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421679;
/* rgb */ color: rgb(66, 22, 121);
/* oklch */ color: oklch(33.4% 0.153 297.3);
Tailwind
colors: {
  custom: {
    50: '#7d59a1',
    500: '#421679',
    950: '#000000',
  },
}
SCSS
$custom: #421679;
$custom-light: #7d59a1;
$custom-dark: #000000;
JSON
{
  "hex": "#421679",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 266.667,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.15342,
    "h": 297.3
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#421679
secondary
#7CAE3D
accent
#EC3C9E
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #421679

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

Preview Lab → · Contrast checker → · Palette generator →

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