#421968#421968

#421968 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.131 H 303.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#421968
RGBrgb(66, 25, 104)
HSLhsl(271, 61%, 25%)
HSVhsv(271, 76%, 41%)
CMYKcmyk(36.5%, 76%, 0%, 59.2%)
CIE-LABlab(19.45, 35.71, -38.31)
CIE-LCHlch(19.45, 52.38, 312.99°)
OKLaboklab(32.15% 0.072 -0.1091)
OKLCHoklch(32.15% 0.131 303.4)
XYZxyz(5.0925, 2.8530, 13.3764)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421968 #3F6819
analogous
#1A1968 #421968 #681966
triadic
#421968 #684219 #196842
tetradic
#421968 #681A19 #3F6819 #196668
square
#421968 #681A19 #3F6819 #196668
split-complementary
#421968 #666819 #19681A
monochromatic
#100619 #230D37 #421968 #612599 #8131CB

Accessibility & contrast

On white

13.37
#421968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#421968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421968
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421968#FFFFFF#000000##FFFFFF
##4219681.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#3A2C3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #421968;
/* rgb */ color: rgb(66, 25, 104);
/* oklch */ color: oklch(32.1% 0.131 303.4);
Tailwind
colors: {
  custom: {
    50: '#7a5a94',
    500: '#421968',
    950: '#000000',
  },
}
SCSS
$custom: #421968;
$custom-light: #7a5a94;
$custom-dark: #000000;
JSON
{
  "hex": "#421968",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 271.139,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32148,
    "c": 0.13067,
    "h": 303.4
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#421968
secondary
#6D9E3F
accent
#E44391
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #421968

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

Preview Lab → · Contrast checker → · Palette generator →

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