#42083B#42083B

#42083B is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.9% C 0.106 H 333.7°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#42083B
RGBrgb(66, 8, 59)
HSLhsl(307, 78%, 15%)
HSVhsv(307, 88%, 26%)
CMYKcmyk(0%, 87.9%, 10.6%, 74.1%)
CIE-LABlab(13.52, 32.91, -17.16)
CIE-LCHlch(13.52, 37.11, 332.46°)
OKLaboklab(26.86% 0.0954 -0.0471)
OKLCHoklch(26.86% 0.106 333.7)
XYZxyz(3.1230, 1.6480, 4.2904)
Luminance0.0165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42083B #08420F
analogous
#2C0842 #42083B #42081E
triadic
#42083B #3B4208 #083B42
tetradic
#42083B #422C08 #08420F #081E42
square
#42083B #422C08 #08420F #081E42
split-complementary
#42083B #1E4208 #08422C
monochromatic
#1B0318 #1B0318 #42083B #790F6C #AF159D

Accessibility & contrast

On white

15.79
#42083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42083B
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42083B#FFFFFF#000000##FFFFFF
##42083B1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3C
Deuteranopia (green-blind)
#1D263A
Tritanopia (blue-blind)
#460E21
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42083b;
/* rgb */ color: rgb(66, 8, 59);
/* oklch */ color: oklch(26.9% 0.106 333.7);
Tailwind
colors: {
  custom: {
    50: '#795071',
    500: '#42083b',
    950: '#000000',
  },
}
SCSS
$custom: #42083b;
$custom-light: #795071;
$custom-dark: #000000;
JSON
{
  "hex": "#42083b",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 307.241,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26863,
    "c": 0.10642,
    "h": 333.7
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#42083B
secondary
#258030
accent
#F54A33
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #42083B

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

Preview Lab → · Contrast checker → · Palette generator →

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