#421264#421264

#421264 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.135 H 306.5°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#421264
RGBrgb(66, 18, 100)
HSLhsl(275, 69%, 23%)
HSVhsv(275, 82%, 39%)
CMYKcmyk(34%, 82%, 0%, 60.8%)
CIE-LABlab(17.97, 37.92, -38.08)
CIE-LCHlch(17.97, 53.74, 314.88°)
OKLaboklab(31% 0.0801 -0.1083)
OKLCHoklch(31% 0.135 306.5)
XYZxyz(4.7628, 2.5110, 12.2879)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421264 #346412
analogous
#191264 #421264 #64125D
triadic
#421264 #644212 #126442
tetradic
#421264 #641912 #346412 #125D64
square
#421264 #641912 #346412 #125D64
split-complementary
#421264 #5D6412 #126419
monochromatic
#11051A #200930 #421264 #641B98 #8625CC

Accessibility & contrast

On white

13.98
#421264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#421264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421264
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421264#FFFFFF#000000##FFFFFF
##4212641.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#3C273B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421264;
/* rgb */ color: rgb(66, 18, 100);
/* oklch */ color: oklch(31.0% 0.135 306.5);
Tailwind
colors: {
  custom: {
    50: '#7a5691',
    500: '#421264',
    950: '#000000',
  },
}
SCSS
$custom: #421264;
$custom-light: #7a5691;
$custom-dark: #000000;
JSON
{
  "hex": "#421264",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 275.122,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30999,
    "c": 0.13471,
    "h": 306.5
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#421264
secondary
#609C36
accent
#EC3B85
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421264

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

Preview Lab → · Contrast checker → · Palette generator →

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