#42083F#42083F

#42083F is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.110 H 330.5°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#42083F
RGBrgb(66, 8, 63)
HSLhsl(303, 78%, 15%)
HSVhsv(303, 88%, 26%)
CMYKcmyk(0%, 87.9%, 4.5%, 74.1%)
CIE-LABlab(13.77, 33.63, -19.60)
CIE-LCHlch(13.77, 38.92, 329.77°)
OKLaboklab(27.13% 0.0955 -0.0541)
OKLCHoklch(27.13% 0.11 330.5)
XYZxyz(3.2308, 1.6911, 4.8579)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42083F #08420B
analogous
#280842 #42083F #420822
triadic
#42083F #3F4208 #083F42
tetradic
#42083F #422808 #08420B #082242
square
#42083F #422808 #08420B #082242
split-complementary
#42083F #224208 #084228
monochromatic
#1B031A #1B031A #42083F #790F73 #AF15A7

Accessibility & contrast

On white

15.69
#42083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#42083F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42083F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42083F#FFFFFF#000000##FFFFFF
##42083F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#1B263E
Tritanopia (blue-blind)
#451023
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42083f;
/* rgb */ color: rgb(66, 8, 63);
/* oklch */ color: oklch(27.1% 0.110 330.5);
Tailwind
colors: {
  custom: {
    50: '#795074',
    500: '#42083f',
    950: '#000000',
  },
}
SCSS
$custom: #42083f;
$custom-light: #795074;
$custom-dark: #000000;
JSON
{
  "hex": "#42083f",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 303.103,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.27128,
    "c": 0.1098,
    "h": 330.5
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#42083F
secondary
#25802A
accent
#F53D33
background
#F7F4F7
surface
#EEE7ED
border
#C9C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #42083F

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

Preview Lab → · Contrast checker → · Palette generator →

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