#38293C#38293C

#38293C is a dark, muted purple. Relative luminance 0.028; OKLCH L 30.6% C 0.039 H 319.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#38293C
RGBrgb(56, 41, 60)
HSLhsl(287, 19%, 20%)
HSVhsv(287, 32%, 24%)
CMYKcmyk(6.7%, 31.7%, 0%, 76.5%)
CIE-LABlab(19.03, 11.14, -9.44)
CIE-LCHlch(19.03, 14.60, 319.70°)
OKLaboklab(30.63% 0.0296 -0.0256)
OKLCHoklch(30.63% 0.039 319.1)
XYZxyz(3.2393, 2.7529, 4.6348)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38293C #2D3C29
analogous
#2F293C #38293C #3C2937
triadic
#38293C #3C3829 #293C38
tetradic
#38293C #3C2F29 #2D3C29 #29373C
square
#38293C #3C2F29 #2D3C29 #29373C
split-complementary
#38293C #373C29 #293C2F
monochromatic
#110C12 #161018 #38293C #5A4260 #7C5B85

Accessibility & contrast

On white

13.54
#38293C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38293C
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38293C#FFFFFF#000000##FFFFFF
##38293C1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272D3D
Deuteranopia (green-blind)
#2A2F3B
Tritanopia (blue-blind)
#382B30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #38293c;
/* rgb */ color: rgb(56, 41, 60);
/* oklch */ color: oklch(30.6% 0.039 319.1);
Tailwind
colors: {
  custom: {
    50: '#6f6271',
    500: '#38293c',
    950: '#000000',
  },
}
SCSS
$custom: #38293c;
$custom-light: #6f6271;
$custom-dark: #000000;
JSON
{
  "hex": "#38293c",
  "rgb": {
    "r": 56,
    "g": 41,
    "b": 60
  },
  "hsl": {
    "h": 287.368,
    "s": 18.812,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30632,
    "c": 0.03915,
    "h": 319.1
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#38293C
secondary
#596D54
accent
#BB6C7D
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #38293C

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

Preview Lab → · Contrast checker → · Palette generator →

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