#421863#421863

#421863 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.126 H 305.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#421863
RGBrgb(66, 24, 99)
HSLhsl(274, 61%, 24%)
HSVhsv(274, 76%, 39%)
CMYKcmyk(33.3%, 75.8%, 0%, 61.2%)
CIE-LABlab(18.85, 34.91, -35.99)
CIE-LCHlch(18.85, 50.13, 314.13°)
OKLaboklab(31.6% 0.074 -0.1022)
OKLCHoklch(31.6% 0.126 305.9)
XYZxyz(4.8250, 2.7124, 12.0713)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421863 #396318
analogous
#1D1863 #421863 #63185F
triadic
#421863 #634218 #186342
tetradic
#421863 #631D18 #396318 #185F63
square
#421863 #631D18 #396318 #185F63
split-complementary
#421863 #5F6318 #18631D
monochromatic
#100619 #210C32 #421863 #632494 #8430C6

Accessibility & contrast

On white

13.62
#421863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#421863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421863
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421863#FFFFFF#000000##FFFFFF
##4218631.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002E61
Tritanopia (blue-blind)
#3C293C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #421863;
/* rgb */ color: rgb(66, 24, 99);
/* oklch */ color: oklch(31.6% 0.126 305.9);
Tailwind
colors: {
  custom: {
    50: '#7a5990',
    500: '#421863',
    950: '#000000',
  },
}
SCSS
$custom: #421863;
$custom-light: #7a5990;
$custom-dark: #000000;
JSON
{
  "hex": "#421863",
  "rgb": {
    "r": 66,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 273.6,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31597,
    "c": 0.12621,
    "h": 305.9
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#421863
secondary
#66993E
accent
#E4448A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #421863

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

Preview Lab → · Contrast checker → · Palette generator →

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