#421973#421973

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

Color values

HEX#421973
RGBrgb(66, 25, 115)
HSLhsl(267, 64%, 27%)
HSVhsv(267, 78%, 45%)
CMYKcmyk(42.6%, 78.3%, 0%, 54.9%)
CIE-LABlab(20.41, 38.65, -43.89)
CIE-LCHlch(20.41, 58.48, 311.37°)
OKLaboklab(33.13% 0.0694 -0.1255)
OKLCHoklch(33.13% 0.143 299)
XYZxyz(5.6881, 3.0912, 16.5133)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421973 #4A7319
analogous
#191D73 #421973 #6F1973
triadic
#421973 #734219 #197342
tetradic
#421973 #73191D #4A7319 #19736F
square
#421973 #73191D #4A7319 #19736F
split-complementary
#421973 #736F19 #1D7319
monochromatic
#0E0519 #250E41 #421973 #5F24A5 #7C34D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##421973#FFFFFF#000000##FFFFFF
##4219731.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)
#003176
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#363045
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421973;
/* rgb */ color: rgb(66, 25, 115);
/* oklch */ color: oklch(33.1% 0.143 299.0);
Tailwind
colors: {
  custom: {
    50: '#7c5a9c',
    500: '#421973',
    950: '#000000',
  },
}
SCSS
$custom: #421973;
$custom-light: #7c5a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#421973",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 267.333,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33125,
    "c": 0.14338,
    "h": 299
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#421973
secondary
#79A840
accent
#E7419B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421973

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

Preview Lab → · Contrast checker → · Palette generator →

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