#42283E#42283E

#42283E is a dark, muted purple. Relative luminance 0.030; OKLCH L 31.8% C 0.052 H 332.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#42283E
RGBrgb(66, 40, 62)
HSLhsl(309, 25%, 21%)
HSVhsv(309, 39%, 26%)
CMYKcmyk(0%, 39.4%, 6.1%, 74.1%)
CIE-LABlab(20.14, 16.32, -9.00)
CIE-LCHlch(20.14, 18.64, 331.11°)
OKLaboklab(31.8% 0.0463 -0.0242)
OKLCHoklch(31.8% 0.052 332.4)
XYZxyz(3.8750, 3.0238, 4.9360)
Luminance0.0302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42283E #28422C
analogous
#392842 #42283E #422831
triadic
#42283E #3E4228 #283E42
tetradic
#42283E #423928 #28422C #283142
square
#42283E #423928 #28422C #283142
split-complementary
#42283E #314228 #284239
monochromatic
#130C12 #1C111A #42283E #683F62 #8E5686

Accessibility & contrast

On white

13.09
#42283E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#42283E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42283E
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42283E#FFFFFF#000000##FFFFFF
##42283E1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282E3F
Deuteranopia (green-blind)
#2E323D
Tritanopia (blue-blind)
#442930
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #42283e;
/* rgb */ color: rgb(66, 40, 62);
/* oklch */ color: oklch(31.8% 0.052 332.4);
Tailwind
colors: {
  custom: {
    50: '#776273',
    500: '#42283e',
    950: '#000000',
  },
}
SCSS
$custom: #42283e;
$custom-light: #776273;
$custom-dark: #000000;
JSON
{
  "hex": "#42283e",
  "rgb": {
    "r": 66,
    "g": 40,
    "b": 62
  },
  "hsl": {
    "h": 309.231,
    "s": 24.528,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31803,
    "c": 0.0523,
    "h": 332.4
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#42283E
secondary
#527457
accent
#C17567
background
#F7F5F6
surface
#EDEAEC
border
#C8C6C7
text
#080508
muted
#7B797B

Preview Lab

Preview with #42283E

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

Preview Lab → · Contrast checker → · Palette generator →

#42283E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva