#421678#421678

#421678 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.152 H 297.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#421678
RGBrgb(66, 22, 120)
HSLhsl(267, 69%, 28%)
HSVhsv(267, 82%, 47%)
CMYKcmyk(45%, 81.7%, 0%, 52.9%)
CIE-LABlab(20.39, 41.36, -47.12)
CIE-LCHlch(20.39, 62.70, 311.28°)
OKLaboklab(33.26% 0.0707 -0.1349)
OKLCHoklch(33.26% 0.152 297.6)
XYZxyz(5.9230, 3.0880, 18.0496)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421678 #4C7816
analogous
#161B78 #421678 #731678
triadic
#421678 #784216 #167842
tetradic
#421678 #78161B #4C7816 #167873
square
#421678 #78161B #4C7816 #167873
split-complementary
#421678 #787316 #1B7816
monochromatic
#0E051A #260D44 #421678 #5E1FAC #7C2FD9

Accessibility & contrast

On white

12.98
#421678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421678
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421678#FFFFFF#000000##FFFFFF
##4216781.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#343147
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421678;
/* rgb */ color: rgb(66, 22, 120);
/* oklch */ color: oklch(33.3% 0.152 297.6);
Tailwind
colors: {
  custom: {
    50: '#7d59a0',
    500: '#421678',
    950: '#000000',
  },
}
SCSS
$custom: #421678;
$custom-light: #7d59a0;
$custom-dark: #000000;
JSON
{
  "hex": "#421678",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 266.939,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3326,
    "c": 0.1523,
    "h": 297.6
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#421678
secondary
#7BAD3C
accent
#EC3C9D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #421678

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

Preview Lab → · Contrast checker → · Palette generator →

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