#421260#421260

#421260 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.130 H 308.4°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#421260
RGBrgb(66, 18, 96)
HSLhsl(277, 68%, 22%)
HSVhsv(277, 81%, 38%)
CMYKcmyk(31.3%, 81.3%, 0%, 62.4%)
CIE-LABlab(17.62, 36.94, -36.00)
CIE-LCHlch(17.62, 51.57, 315.74°)
OKLaboklab(30.65% 0.081 -0.1022)
OKLCHoklch(30.65% 0.13 308.4)
XYZxyz(4.5740, 2.4355, 11.2932)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421260 #306012
analogous
#1B1260 #421260 #601257
triadic
#421260 #604212 #126042
tetradic
#421260 #601B12 #306012 #125760
square
#421260 #601B12 #306012 #125760
split-complementary
#421260 #576012 #12601B
monochromatic
#12051A #1F082C #421260 #651C94 #8925C7

Accessibility & contrast

On white

14.12
#421260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421260
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421260#FFFFFF#000000##FFFFFF
##4212601.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#3D2538
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #421260;
/* rgb */ color: rgb(66, 18, 96);
/* oklch */ color: oklch(30.6% 0.130 308.4);
Tailwind
colors: {
  custom: {
    50: '#7a568e',
    500: '#421260',
    950: '#000000',
  },
}
SCSS
$custom: #421260;
$custom-light: #7a568e;
$custom-dark: #000000;
JSON
{
  "hex": "#421260",
  "rgb": {
    "r": 66,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 276.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30649,
    "c": 0.13043,
    "h": 308.4
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#421260
secondary
#5C9836
accent
#EB3D80
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #421260

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

Preview Lab → · Contrast checker → · Palette generator →

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