#42233D#42233D

#42233D is a dark, moderate purple. Relative luminance 0.027; OKLCH L 30.8% C 0.062 H 333.1°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#42233D
RGBrgb(66, 35, 61)
HSLhsl(310, 31%, 20%)
HSVhsv(310, 47%, 26%)
CMYKcmyk(0%, 47%, 7.6%, 74.1%)
CIE-LABlab(18.79, 19.35, -10.38)
CIE-LCHlch(18.79, 21.96, 331.80°)
OKLaboklab(30.77% 0.0553 -0.028)
OKLCHoklch(30.77% 0.062 333.1)
XYZxyz(3.6901, 2.6974, 4.7403)
Luminance0.0270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42233D #234228
analogous
#372342 #42233D #42232E
triadic
#42233D #3D4223 #233D42
tetradic
#42233D #423723 #234228 #232E42
square
#42233D #423723 #234228 #232E42
split-complementary
#42233D #2E4223 #234237
monochromatic
#140B12 #1A0E18 #42233D #6A3862 #924D87

Accessibility & contrast

On white

13.64
#42233D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#42233D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42233D
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42233D#FFFFFF#000000##FFFFFF
##42233D1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232B3E
Deuteranopia (green-blind)
#2B2F3C
Tritanopia (blue-blind)
#45252D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42233d;
/* rgb */ color: rgb(66, 35, 61);
/* oklch */ color: oklch(30.8% 0.062 333.1);
Tailwind
colors: {
  custom: {
    50: '#775f72',
    500: '#42233d',
    950: '#000000',
  },
}
SCSS
$custom: #42233d;
$custom-light: #775f72;
$custom-dark: #000000;
JSON
{
  "hex": "#42233d",
  "rgb": {
    "r": 66,
    "g": 35,
    "b": 61
  },
  "hsl": {
    "h": 309.677,
    "s": 30.693,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30769,
    "c": 0.06199,
    "h": 333.1
  },
  "luminance": 0.02697
}

Semantic roles & 50–950 ramp

primary
#42233D
secondary
#4C7552
accent
#C77161
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090408
muted
#7B797B

Preview Lab

Preview with #42233D

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

Preview Lab → · Contrast checker → · Palette generator →

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