#42083D#42083D

#42083D is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.108 H 332.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#42083D
RGBrgb(66, 8, 61)
HSLhsl(305, 78%, 15%)
HSVhsv(305, 88%, 26%)
CMYKcmyk(0%, 87.9%, 7.6%, 74.1%)
CIE-LABlab(13.64, 33.26, -18.39)
CIE-LCHlch(13.64, 38.01, 331.07°)
OKLaboklab(26.99% 0.0955 -0.0506)
OKLCHoklch(26.99% 0.108 332.1)
XYZxyz(3.1759, 1.6691, 4.5689)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42083D #08420D
analogous
#2A0842 #42083D #420820
triadic
#42083D #3D4208 #083D42
tetradic
#42083D #422A08 #08420D #082042
square
#42083D #422A08 #08420D #082042
split-complementary
#42083D #204208 #08422A
monochromatic
#1B0319 #1B0319 #42083D #790F6F #AF15A2

Accessibility & contrast

On white

15.74
#42083D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#42083D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42083D
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42083D#FFFFFF#000000##FFFFFF
##42083D1.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#450F22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42083d;
/* rgb */ color: rgb(66, 8, 61);
/* oklch */ color: oklch(27.0% 0.108 332.1);
Tailwind
colors: {
  custom: {
    50: '#795072',
    500: '#42083d',
    950: '#000000',
  },
}
SCSS
$custom: #42083d;
$custom-light: #795072;
$custom-dark: #000000;
JSON
{
  "hex": "#42083d",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 61
  },
  "hsl": {
    "h": 305.172,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26993,
    "c": 0.10809,
    "h": 332.1
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#42083D
secondary
#25802D
accent
#F54433
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42083D

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

Preview Lab → · Contrast checker → · Palette generator →

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