#421368#421368

#421368 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.138 H 304.5°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#421368
RGBrgb(66, 19, 104)
HSLhsl(273, 69%, 24%)
HSVhsv(273, 82%, 41%)
CMYKcmyk(36.5%, 81.7%, 0%, 59.2%)
CIE-LABlab(18.47, 38.50, -39.90)
CIE-LCHlch(18.47, 55.45, 313.98°)
OKLaboklab(31.46% 0.0781 -0.1137)
OKLCHoklch(31.46% 0.138 304.5)
XYZxyz(4.9778, 2.6235, 13.3382)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421368 #396813
analogous
#171368 #421368 #681364
triadic
#421368 #684213 #136842
tetradic
#421368 #681713 #396813 #136468
square
#421368 #681713 #396813 #136468
split-complementary
#421368 #646813 #136817
monochromatic
#10051A #210A34 #421368 #631C9C #8426CF

Accessibility & contrast

On white

13.77
#421368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#421368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421368
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421368#FFFFFF#000000##FFFFFF
##4213681.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#3B293D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #421368;
/* rgb */ color: rgb(66, 19, 104);
/* oklch */ color: oklch(31.5% 0.138 304.5);
Tailwind
colors: {
  custom: {
    50: '#7b5794',
    500: '#421368',
    950: '#000000',
  },
}
SCSS
$custom: #421368;
$custom-light: #7b5794;
$custom-dark: #000000;
JSON
{
  "hex": "#421368",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 273.176,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.13791,
    "h": 304.5
  },
  "luminance": 0.02623
}

Semantic roles & 50–950 ramp

primary
#421368
secondary
#669F37
accent
#EC3C8B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421368

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

Preview Lab → · Contrast checker → · Palette generator →

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