#42136A#42136A

#42136A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.140 H 303.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#42136A
RGBrgb(66, 19, 106)
HSLhsl(272, 70%, 25%)
HSVhsv(272, 82%, 42%)
CMYKcmyk(37.7%, 82.1%, 0%, 58.4%)
CIE-LABlab(18.65, 39.01, -40.92)
CIE-LCHlch(18.65, 56.53, 313.63°)
OKLaboklab(31.64% 0.0775 -0.1167)
OKLCHoklch(31.64% 0.14 303.6)
XYZxyz(5.0805, 2.6646, 13.8795)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42136A #3B6A13
analogous
#17136A #42136A #6A1367
triadic
#42136A #6A4213 #136A42
tetradic
#42136A #6A1713 #3B6A13 #13676A
square
#42136A #6A1713 #3B6A13 #13676A
split-complementary
#42136A #676A13 #136A17
monochromatic
#10051A #220A36 #42136A #621C9E #8326D2

Accessibility & contrast

On white

13.70
#42136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#42136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42136A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42136A#FFFFFF#000000##FFFFFF
##42136A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#3A2A3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #42136a;
/* rgb */ color: rgb(66, 19, 106);
/* oklch */ color: oklch(31.6% 0.140 303.6);
Tailwind
colors: {
  custom: {
    50: '#7b5795',
    500: '#42136a',
    950: '#000000',
  },
}
SCSS
$custom: #42136a;
$custom-light: #7b5795;
$custom-dark: #000000;
JSON
{
  "hex": "#42136a",
  "rgb": {
    "r": 66,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 272.414,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3164,
    "c": 0.14008,
    "h": 303.6
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#42136A
secondary
#68A138
accent
#EC3B8D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #42136A

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

Preview Lab → · Contrast checker → · Palette generator →

#42136A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva