#42263E#42263E

#42263E is a dark, muted purple. Relative luminance 0.029; OKLCH L 31.4% C 0.057 H 332.1°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#42263E
RGBrgb(66, 38, 62)
HSLhsl(309, 27%, 20%)
HSVhsv(309, 42%, 26%)
CMYKcmyk(0%, 42.4%, 6.1%, 74.1%)
CIE-LABlab(19.61, 17.63, -9.81)
CIE-LCHlch(19.61, 20.17, 330.89°)
OKLaboklab(31.4% 0.0501 -0.0265)
OKLCHoklch(31.4% 0.057 332.1)
XYZxyz(3.8093, 2.8925, 4.9141)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42263E #26422A
analogous
#382642 #42263E #422630
triadic
#42263E #3E4226 #263E42
tetradic
#42263E #423826 #26422A #263042
square
#42263E #423826 #26422A #263042
split-complementary
#42263E #304226 #264238
monochromatic
#130B12 #1B101A #42263E #693C62 #905387

Accessibility & contrast

On white

13.30
#42263E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#42263E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42263E
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42263E#FFFFFF#000000##FFFFFF
##42263E1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D3F
Deuteranopia (green-blind)
#2D313D
Tritanopia (blue-blind)
#44282F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #42263e;
/* rgb */ color: rgb(66, 38, 62);
/* oklch */ color: oklch(31.4% 0.057 332.1);
Tailwind
colors: {
  custom: {
    50: '#776173',
    500: '#42263e',
    950: '#000000',
  },
}
SCSS
$custom: #42263e;
$custom-light: #776173;
$custom-dark: #000000;
JSON
{
  "hex": "#42263e",
  "rgb": {
    "r": 66,
    "g": 38,
    "b": 62
  },
  "hsl": {
    "h": 308.571,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31401,
    "c": 0.05665,
    "h": 332.1
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#42263E
secondary
#4F7455
accent
#C37265
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080508
muted
#7B797B

Preview Lab

Preview with #42263E

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

Preview Lab → · Contrast checker → · Palette generator →

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