#38283C#38283C

#38283C is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.4% C 0.041 H 319.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#38283C
RGBrgb(56, 40, 60)
HSLhsl(288, 20%, 20%)
HSVhsv(288, 33%, 24%)
CMYKcmyk(6.7%, 33.3%, 0%, 76.5%)
CIE-LABlab(18.73, 11.82, -9.89)
CIE-LCHlch(18.73, 15.41, 320.09°)
OKLaboklab(30.41% 0.0315 -0.0269)
OKLCHoklch(30.41% 0.041 319.5)
XYZxyz(3.2052, 2.6847, 4.6234)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38283C #2C3C28
analogous
#2E283C #38283C #3C2836
triadic
#38283C #3C3828 #283C38
tetradic
#38283C #3C2E28 #2C3C28 #28363C
square
#38283C #3C2E28 #2C3C28 #28363C
split-complementary
#38283C #363C28 #283C2E
monochromatic
#110C12 #161017 #38283C #5A4061 #7D5985

Accessibility & contrast

On white

13.66
#38283C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#38283C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38283C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38283C#FFFFFF#000000##FFFFFF
##38283C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3D
Deuteranopia (green-blind)
#292E3B
Tritanopia (blue-blind)
#382A2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #38283c;
/* rgb */ color: rgb(56, 40, 60);
/* oklch */ color: oklch(30.4% 0.041 319.5);
Tailwind
colors: {
  custom: {
    50: '#6f6271',
    500: '#38283c',
    950: '#000000',
  },
}
SCSS
$custom: #38283c;
$custom-light: #6f6271;
$custom-dark: #000000;
JSON
{
  "hex": "#38283c",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 60
  },
  "hsl": {
    "h": 288,
    "s": 20,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30409,
    "c": 0.04138,
    "h": 319.5
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#38283C
secondary
#586D52
accent
#BD6B7B
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #38283C

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

Preview Lab → · Contrast checker → · Palette generator →

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