#421875#421875

#421875 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.147 H 298.4°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#421875
RGBrgb(66, 24, 117)
HSLhsl(267, 66%, 28%)
HSVhsv(267, 79%, 46%)
CMYKcmyk(43.6%, 79.5%, 0%, 54.1%)
CIE-LABlab(20.42, 39.66, -45.15)
CIE-LCHlch(20.42, 60.09, 311.30°)
OKLaboklab(33.19% 0.0698 -0.1291)
OKLCHoklch(33.19% 0.147 298.4)
XYZxyz(5.7835, 3.0958, 17.1190)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421875 #4B7518
analogous
#181C75 #421875 #701875
triadic
#421875 #754218 #187542
tetradic
#421875 #75181C #4B7518 #187570
square
#421875 #75181C #4B7518 #187570
split-complementary
#421875 #757018 #1C7518
monochromatic
#0E0519 #250E42 #421875 #5F22A8 #7C32D5

Accessibility & contrast

On white

12.97
#421875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421875
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421875#FFFFFF#000000##FFFFFF
##4218751.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421875;
/* rgb */ color: rgb(66, 24, 117);
/* oklch */ color: oklch(33.2% 0.147 298.4);
Tailwind
colors: {
  custom: {
    50: '#7c5a9e',
    500: '#421875',
    950: '#000000',
  },
}
SCSS
$custom: #421875;
$custom-light: #7c5a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#421875",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 267.097,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33194,
    "c": 0.14681,
    "h": 298.4
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#421875
secondary
#7AAA3F
accent
#E93F9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #421875

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

Preview Lab → · Contrast checker → · Palette generator →

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