#42196D#42196D

#42196D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.136 H 301.3°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#42196D
RGBrgb(66, 25, 109)
HSLhsl(269, 63%, 26%)
HSVhsv(269, 77%, 43%)
CMYKcmyk(39.4%, 77.1%, 0%, 57.3%)
CIE-LABlab(19.87, 37.04, -40.87)
CIE-LCHlch(19.87, 55.16, 312.18°)
OKLaboklab(32.58% 0.0709 -0.1166)
OKLCHoklch(32.58% 0.136 301.3)
XYZxyz(5.3540, 2.9576, 14.7538)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42196D #446D19
analogous
#191A6D #42196D #6C196D
triadic
#42196D #6D4219 #196D42
tetradic
#42196D #6D191A #446D19 #196D6C
square
#42196D #6D191A #446D19 #196D6C
split-complementary
#42196D #6D6C19 #1A6D19
monochromatic
#0F0619 #240E3B #42196D #60249F #7E31D0

Accessibility & contrast

On white

13.19
#42196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#42196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42196D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42196D#FFFFFF#000000##FFFFFF
##42196D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#392E41
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #42196d;
/* rgb */ color: rgb(66, 25, 109);
/* oklch */ color: oklch(32.6% 0.136 301.3);
Tailwind
colors: {
  custom: {
    50: '#7b5a98',
    500: '#42196d',
    950: '#000000',
  },
}
SCSS
$custom: #42196d;
$custom-light: #7b5a98;
$custom-dark: #000000;
JSON
{
  "hex": "#42196d",
  "rgb": {
    "r": 66,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 269.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32585,
    "c": 0.13647,
    "h": 301.3
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#42196D
secondary
#72A23F
accent
#E64296
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #42196D

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

Preview Lab → · Contrast checker → · Palette generator →

#42196D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva