#421261#421261

#421261 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.132 H 307.9°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#421261
RGBrgb(66, 18, 97)
HSLhsl(276, 69%, 23%)
HSVhsv(276, 81%, 38%)
CMYKcmyk(32%, 81.4%, 0%, 62%)
CIE-LABlab(17.71, 37.18, -36.52)
CIE-LCHlch(17.71, 52.12, 315.51°)
OKLaboklab(30.74% 0.0808 -0.1038)
OKLCHoklch(30.74% 0.132 307.9)
XYZxyz(4.6203, 2.4540, 11.5372)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421261 #316112
analogous
#1B1261 #421261 #611258
triadic
#421261 #614212 #126142
tetradic
#421261 #611B12 #316112 #125861
square
#421261 #611B12 #316112 #125861
split-complementary
#421261 #586112 #12611B
monochromatic
#12051A #1F082D #421261 #651C95 #8825C8

Accessibility & contrast

On white

14.09
#421261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#421261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #421261
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421261#FFFFFF#000000##FFFFFF
##4212611.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#3D2639
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421261;
/* rgb */ color: rgb(66, 18, 97);
/* oklch */ color: oklch(30.7% 0.132 307.9);
Tailwind
colors: {
  custom: {
    50: '#7a568e',
    500: '#421261',
    950: '#000000',
  },
}
SCSS
$custom: #421261;
$custom-light: #7a568e;
$custom-dark: #000000;
JSON
{
  "hex": "#421261",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 276.456,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30736,
    "c": 0.1315,
    "h": 307.9
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#421261
secondary
#5D9936
accent
#EC3C81
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421261

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

Preview Lab → · Contrast checker → · Palette generator →

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