#38293D#38293D

#38293D is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.7% C 0.041 H 317.5°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#38293D
RGBrgb(56, 41, 61)
HSLhsl(285, 20%, 20%)
HSVhsv(285, 33%, 24%)
CMYKcmyk(8.2%, 32.8%, 0%, 76.1%)
CIE-LABlab(19.07, 11.38, -10.06)
CIE-LCHlch(19.07, 15.19, 318.52°)
OKLaboklab(30.68% 0.0299 -0.0274)
OKLCHoklch(30.68% 0.041 317.5)
XYZxyz(3.2660, 2.7636, 4.7754)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38293D #2E3D29
analogous
#2E293D #38293D #3D2938
triadic
#38293D #3D3829 #293D38
tetradic
#38293D #3D2E29 #2E3D29 #29383D
square
#38293D #3D2E29 #2E3D29 #29383D
split-complementary
#38293D #383D29 #293D2E
monochromatic
#110C12 #161018 #38293D #5A4262 #7B5A86

Accessibility & contrast

On white

13.52
#38293D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#38293D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38293D
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38293D#FFFFFF#000000##FFFFFF
##38293D1.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)
#262D3E
Deuteranopia (green-blind)
#2A2F3C
Tritanopia (blue-blind)
#382B30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #38293d;
/* rgb */ color: rgb(56, 41, 61);
/* oklch */ color: oklch(30.7% 0.041 317.5);
Tailwind
colors: {
  custom: {
    50: '#6f6272',
    500: '#38293d',
    950: '#000000',
  },
}
SCSS
$custom: #38293d;
$custom-light: #6f6272;
$custom-dark: #000000;
JSON
{
  "hex": "#38293d",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 61
  },
  "hsl": {
    "h": 285,
    "s": 19.608,
    "l": 20
  },
  "oklch": {
    "l": 0.30681,
    "c": 0.04058,
    "h": 317.5
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#38293D
secondary
#5A6E54
accent
#BC6C80
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070508
muted
#7A797B

Preview Lab

Preview with #38293D

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

Preview Lab → · Contrast checker → · Palette generator →

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