#421773#421773

#421773 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.146 H 299.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#421773
RGBrgb(66, 23, 115)
HSLhsl(268, 67%, 27%)
HSVhsv(268, 80%, 45%)
CMYKcmyk(42.6%, 80%, 0%, 54.9%)
CIE-LABlab(20.08, 39.59, -44.42)
CIE-LCHlch(20.08, 59.50, 311.71°)
OKLaboklab(32.9% 0.0713 -0.127)
OKLCHoklch(32.9% 0.146 299.3)
XYZxyz(5.6469, 3.0088, 16.4996)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421773 #487317
analogous
#171A73 #421773 #701773
triadic
#421773 #734217 #177342
tetradic
#421773 #73171A #487317 #177370
square
#421773 #73171A #487317 #177370
split-complementary
#421773 #737017 #1A7317
monochromatic
#0F051A #250D40 #421773 #5F21A6 #7D2FD5

Accessibility & contrast

On white

13.11
#421773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#421773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421773
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421773#FFFFFF#000000##FFFFFF
##4217731.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#363044
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #421773;
/* rgb */ color: rgb(66, 23, 115);
/* oklch */ color: oklch(32.9% 0.146 299.3);
Tailwind
colors: {
  custom: {
    50: '#7c599c',
    500: '#421773',
    950: '#000000',
  },
}
SCSS
$custom: #421773;
$custom-light: #7c599c;
$custom-dark: #000000;
JSON
{
  "hex": "#421773",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 268.043,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.14565,
    "h": 299.3
  },
  "luminance": 0.03009
}

Semantic roles & 50–950 ramp

primary
#421773
secondary
#76A93D
accent
#EA3E99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421773

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

Preview Lab → · Contrast checker → · Palette generator →

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