#421268#421268

#421268 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.139 H 304.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#421268
RGBrgb(66, 18, 104)
HSLhsl(273, 70%, 24%)
HSVhsv(273, 83%, 41%)
CMYKcmyk(36.5%, 82.7%, 0%, 59.2%)
CIE-LABlab(18.32, 38.92, -40.14)
CIE-LCHlch(18.32, 55.91, 314.12°)
OKLaboklab(31.36% 0.079 -0.1144)
OKLCHoklch(31.36% 0.139 304.6)
XYZxyz(4.9612, 2.5904, 13.3326)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421268 #386812
analogous
#171268 #421268 #681263
triadic
#421268 #684212 #126842
tetradic
#421268 #681712 #386812 #126368
square
#421268 #681712 #386812 #126368
split-complementary
#421268 #636812 #126817
monochromatic
#11051A #210934 #421268 #631B9C #8424D0

Accessibility & contrast

On white

13.83
#421268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421268
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421268#FFFFFF#000000##FFFFFF
##4212681.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.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: #421268;
/* rgb */ color: rgb(66, 18, 104);
/* oklch */ color: oklch(31.4% 0.139 304.6);
Tailwind
colors: {
  custom: {
    50: '#7b5694',
    500: '#421268',
    950: '#000000',
  },
}
SCSS
$custom: #421268;
$custom-light: #7b5694;
$custom-dark: #000000;
JSON
{
  "hex": "#421268",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 104
  },
  "hsl": {
    "h": 273.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31357,
    "c": 0.139,
    "h": 304.6
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#421268
secondary
#65A036
accent
#ED3B8A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421268

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

Preview Lab → · Contrast checker → · Palette generator →

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