#42243E#42243E

#42243E is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.0% C 0.061 H 331.9°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#42243E
RGBrgb(66, 36, 62)
HSLhsl(308, 29%, 20%)
HSVhsv(308, 45%, 26%)
CMYKcmyk(0%, 45.5%, 6.1%, 74.1%)
CIE-LABlab(19.09, 18.92, -10.61)
CIE-LCHlch(19.09, 21.69, 330.73°)
OKLaboklab(31.01% 0.0538 -0.0287)
OKLCHoklch(31.01% 0.061 331.9)
XYZxyz(3.7471, 2.7680, 4.8934)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42243E #244228
analogous
#372442 #42243E #42242F
triadic
#42243E #3E4224 #243E42
tetradic
#42243E #423724 #244228 #242F42
square
#42243E #423724 #244228 #242F42
split-complementary
#42243E #2F4224 #244237
monochromatic
#140B13 #1A0E19 #42243E #6A3A63 #914F88

Accessibility & contrast

On white

13.52
#42243E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#42243E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42243E
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42243E#FFFFFF#000000##FFFFFF
##42243E1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C3F
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#44262E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #42243e;
/* rgb */ color: rgb(66, 36, 62);
/* oklch */ color: oklch(31.0% 0.061 331.9);
Tailwind
colors: {
  custom: {
    50: '#775f73',
    500: '#42243e',
    950: '#000000',
  },
}
SCSS
$custom: #42243e;
$custom-light: #775f73;
$custom-dark: #000000;
JSON
{
  "hex": "#42243e",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 62
  },
  "hsl": {
    "h": 308,
    "s": 29.412,
    "l": 20
  },
  "oklch": {
    "l": 0.31011,
    "c": 0.06094,
    "h": 331.9
  },
  "luminance": 0.02768
}

Semantic roles & 50–950 ramp

primary
#42243E
secondary
#4D7552
accent
#C66F62
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#090408
muted
#7B797B

Preview Lab

Preview with #42243E

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

Preview Lab → · Contrast checker → · Palette generator →

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