#421775#421775

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

Color values

HEX#421775
RGBrgb(66, 23, 117)
HSLhsl(267, 67%, 27%)
HSVhsv(267, 80%, 46%)
CMYKcmyk(43.6%, 80.3%, 0%, 54.1%)
CIE-LABlab(20.26, 40.12, -45.41)
CIE-LCHlch(20.26, 60.59, 311.46°)
OKLaboklab(33.08% 0.0707 -0.1299)
OKLCHoklch(33.08% 0.148 298.6)
XYZxyz(5.7632, 3.0553, 17.1123)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421775 #4A7517
analogous
#171B75 #421775 #711775
triadic
#421775 #754217 #177542
tetradic
#421775 #75171B #4A7517 #177571
square
#421775 #75171B #4A7517 #177571
split-complementary
#421775 #757117 #1B7517
monochromatic
#0E051A #250D42 #421775 #5F21A8 #7C30D6

Accessibility & contrast

On white

13.04
#421775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#421775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421775
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421775#FFFFFF#000000##FFFFFF
##4217751.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#353045
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #421775;
/* rgb */ color: rgb(66, 23, 117);
/* oklch */ color: oklch(33.1% 0.148 298.6);
Tailwind
colors: {
  custom: {
    50: '#7c599e',
    500: '#421775',
    950: '#000000',
  },
}
SCSS
$custom: #421775;
$custom-light: #7c599e;
$custom-dark: #000000;
JSON
{
  "hex": "#421775",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 267.447,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.1479,
    "h": 298.6
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#421775
secondary
#79AA3D
accent
#EA3E9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421775

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

Preview Lab → · Contrast checker → · Palette generator →

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