#421267#421267

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

Color values

HEX#421267
RGBrgb(66, 18, 103)
HSLhsl(274, 70%, 24%)
HSVhsv(274, 83%, 40%)
CMYKcmyk(35.9%, 82.5%, 0%, 59.6%)
CIE-LABlab(18.23, 38.67, -39.63)
CIE-LCHlch(18.23, 55.37, 314.30°)
OKLaboklab(31.27% 0.0793 -0.1129)
OKLCHoklch(31.27% 0.138 305.1)
XYZxyz(4.9107, 2.5702, 13.0667)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421267 #376712
analogous
#171267 #421267 #671261
triadic
#421267 #674212 #126742
tetradic
#421267 #671712 #376712 #126167
square
#421267 #671712 #376712 #126167
split-complementary
#421267 #616712 #126717
monochromatic
#11051A #210933 #421267 #631B9B #8524CF

Accessibility & contrast

On white

13.87
#421267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#421267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421267
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421267#FFFFFF#000000##FFFFFF
##4212671.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#3B283C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421267;
/* rgb */ color: rgb(66, 18, 103);
/* oklch */ color: oklch(31.3% 0.138 305.1);
Tailwind
colors: {
  custom: {
    50: '#7b5693',
    500: '#421267',
    950: '#000000',
  },
}
SCSS
$custom: #421267;
$custom-light: #7b5693;
$custom-dark: #000000;
JSON
{
  "hex": "#421267",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 103
  },
  "hsl": {
    "h": 273.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31267,
    "c": 0.13793,
    "h": 305.1
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#421267
secondary
#649F36
accent
#ED3B88
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421267

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

Preview Lab → · Contrast checker → · Palette generator →

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