#421977#421977

#421977 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.148 H 297.5°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#421977
RGBrgb(66, 25, 119)
HSLhsl(266, 65%, 28%)
HSVhsv(266, 79%, 47%)
CMYKcmyk(44.5%, 79%, 0%, 53.3%)
CIE-LABlab(20.77, 39.74, -45.86)
CIE-LCHlch(20.77, 60.68, 310.91°)
OKLaboklab(33.5% 0.0683 -0.1312)
OKLCHoklch(33.5% 0.148 297.5)
XYZxyz(5.9233, 3.1853, 17.7519)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421977 #4E7719
analogous
#191F77 #421977 #711977
triadic
#421977 #774219 #197742
tetradic
#421977 #77191F #4E7719 #197771
square
#421977 #77191F #4E7719 #197771
split-complementary
#421977 #777119 #1F7719
monochromatic
#0E0519 #260E44 #421977 #5E24AA #7B36D5

Accessibility & contrast

On white

12.83
#421977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#421977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421977
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421977#FFFFFF#000000##FFFFFF
##4219771.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#343247
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #421977;
/* rgb */ color: rgb(66, 25, 119);
/* oklch */ color: oklch(33.5% 0.148 297.5);
Tailwind
colors: {
  custom: {
    50: '#7c5b9f',
    500: '#421977',
    950: '#000000',
  },
}
SCSS
$custom: #421977;
$custom-light: #7c5b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#421977",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 266.17,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33495,
    "c": 0.14797,
    "h": 297.5
  },
  "luminance": 0.03185
}

Semantic roles & 50–950 ramp

primary
#421977
secondary
#7DAC40
accent
#E8409F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #421977

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

Preview Lab → · Contrast checker → · Palette generator →

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