#42083C#42083C

#42083C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.107 H 332.9°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#42083C
RGBrgb(66, 8, 60)
HSLhsl(306, 78%, 15%)
HSVhsv(306, 88%, 26%)
CMYKcmyk(0%, 87.9%, 9.1%, 74.1%)
CIE-LABlab(13.58, 33.09, -17.78)
CIE-LCHlch(13.58, 37.56, 331.75°)
OKLaboklab(26.93% 0.0955 -0.0489)
OKLCHoklch(26.93% 0.107 332.9)
XYZxyz(3.1492, 1.6584, 4.4283)
Luminance0.0166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42083C #08420E
analogous
#2B0842 #42083C #42081F
triadic
#42083C #3C4208 #083C42
tetradic
#42083C #422B08 #08420E #081F42
square
#42083C #422B08 #08420E #081F42
split-complementary
#42083C #1F4208 #08422B
monochromatic
#1B0319 #1B0319 #42083C #790F6E #AF159F

Accessibility & contrast

On white

15.77
#42083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42083C
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42083C#FFFFFF#000000##FFFFFF
##42083C1.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3D
Deuteranopia (green-blind)
#1C263B
Tritanopia (blue-blind)
#450F22
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #42083c;
/* rgb */ color: rgb(66, 8, 60);
/* oklch */ color: oklch(26.9% 0.107 332.9);
Tailwind
colors: {
  custom: {
    50: '#795072',
    500: '#42083c',
    950: '#000000',
  },
}
SCSS
$custom: #42083c;
$custom-light: #795072;
$custom-dark: #000000;
JSON
{
  "hex": "#42083c",
  "rgb": {
    "r": 66,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 306.207,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.26928,
    "c": 0.10725,
    "h": 332.9
  },
  "luminance": 0.01658
}

Semantic roles & 50–950 ramp

primary
#42083C
secondary
#25802F
accent
#F54733
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#090208
muted
#7B787B

Preview Lab

Preview with #42083C

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

Preview Lab → · Contrast checker → · Palette generator →

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