#421263#421263

#421263 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 306.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#421263
RGBrgb(66, 18, 99)
HSLhsl(276, 69%, 23%)
HSVhsv(276, 82%, 39%)
CMYKcmyk(33.3%, 81.8%, 0%, 61.2%)
CIE-LABlab(17.88, 37.67, -37.56)
CIE-LCHlch(17.88, 53.20, 315.08°)
OKLaboklab(30.91% 0.0803 -0.1068)
OKLCHoklch(30.91% 0.134 306.9)
XYZxyz(4.7147, 2.4918, 12.0345)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421263 #336312
analogous
#1A1263 #421263 #63125B
triadic
#421263 #634212 #126342
tetradic
#421263 #631A12 #336312 #125B63
square
#421263 #631A12 #336312 #125B63
split-complementary
#421263 #5B6312 #12631A
monochromatic
#11051A #1F092F #421263 #651B97 #8725CB

Accessibility & contrast

On white

14.01
#421263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421263
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421263#FFFFFF#000000##FFFFFF
##4212631.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#3C263A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #421263;
/* rgb */ color: rgb(66, 18, 99);
/* oklch */ color: oklch(30.9% 0.134 306.9);
Tailwind
colors: {
  custom: {
    50: '#7a5690',
    500: '#421263',
    950: '#000000',
  },
}
SCSS
$custom: #421263;
$custom-light: #7a5690;
$custom-dark: #000000;
JSON
{
  "hex": "#421263",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 275.556,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30911,
    "c": 0.13364,
    "h": 306.9
  },
  "luminance": 0.02492
}

Semantic roles & 50–950 ramp

primary
#421263
secondary
#5F9B36
accent
#EC3C84
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421263

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

Preview Lab → · Contrast checker → · Palette generator →

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