#421767#421767

#421767 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.132 H 304.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#421767
RGBrgb(66, 23, 103)
HSLhsl(272, 63%, 25%)
HSVhsv(272, 78%, 40%)
CMYKcmyk(35.9%, 77.7%, 0%, 59.6%)
CIE-LABlab(19.01, 36.43, -38.36)
CIE-LCHlch(19.01, 52.90, 313.53°)
OKLaboklab(31.82% 0.0743 -0.1092)
OKLCHoklch(31.82% 0.132 304.2)
XYZxyz(5.0008, 2.7503, 13.0967)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421767 #3C6717
analogous
#1A1767 #421767 #671764
triadic
#421767 #674217 #176742
tetradic
#421767 #671A17 #3C6717 #176467
square
#421767 #671A17 #3C6717 #176467
split-complementary
#421767 #646717 #17671A
monochromatic
#100619 #220C35 #421767 #622299 #822DCB

Accessibility & contrast

On white

13.55
#421767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#421767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421767
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421767#FFFFFF#000000##FFFFFF
##4217671.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#3B2B3D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421767;
/* rgb */ color: rgb(66, 23, 103);
/* oklch */ color: oklch(31.8% 0.132 304.2);
Tailwind
colors: {
  custom: {
    50: '#7a5993',
    500: '#421767',
    950: '#000000',
  },
}
SCSS
$custom: #421767;
$custom-light: #7a5993;
$custom-dark: #000000;
JSON
{
  "hex": "#421767",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 272.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31817,
    "c": 0.13208,
    "h": 304.2
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#421767
secondary
#699D3D
accent
#E7418E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421767

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

Preview Lab → · Contrast checker → · Palette generator →

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