#421068#421068

#421068 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.141 H 304.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#421068
RGBrgb(66, 16, 104)
HSLhsl(274, 73%, 24%)
HSVhsv(274, 85%, 41%)
CMYKcmyk(36.5%, 84.6%, 0%, 59.2%)
CIE-LABlab(18.05, 39.72, -40.59)
CIE-LCHlch(18.05, 56.79, 314.38°)
OKLaboklab(31.16% 0.0807 -0.1157)
OKLCHoklch(31.16% 0.141 304.9)
XYZxyz(4.9302, 2.5283, 13.3223)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#421068 #366810
analogous
#161068 #421068 #681062
triadic
#421068 #684210 #106842
tetradic
#421068 #681610 #366810 #106268
square
#421068 #681610 #366810 #106268
split-complementary
#421068 #626810 #106816
monochromatic
#11041B #200833 #421068 #64189D #8520D2

Accessibility & contrast

On white

13.95
#421068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #421068
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##421068#FFFFFF#000000##FFFFFF
##4210681.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #421068;
/* rgb */ color: rgb(66, 16, 104);
/* oklch */ color: oklch(31.2% 0.141 304.9);
Tailwind
colors: {
  custom: {
    50: '#7b5594',
    500: '#421068',
    950: '#000000',
  },
}
SCSS
$custom: #421068;
$custom-light: #7b5594;
$custom-dark: #000000;
JSON
{
  "hex": "#421068",
  "rgb": {
    "r": 66,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 274.091,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31164,
    "c": 0.14107,
    "h": 304.9
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#421068
secondary
#62A034
accent
#F03887
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #421068

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

Preview Lab → · Contrast checker → · Palette generator →

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