#38283A#38283A

#38283A is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.3% C 0.039 H 322.7°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#38283A
RGBrgb(56, 40, 58)
HSLhsl(293, 18%, 19%)
HSVhsv(293, 31%, 23%)
CMYKcmyk(3.4%, 31%, 0%, 77.3%)
CIE-LABlab(18.64, 11.33, -8.64)
CIE-LCHlch(18.64, 14.25, 322.68°)
OKLaboklab(30.31% 0.0307 -0.0234)
OKLCHoklch(30.31% 0.039 322.7)
XYZxyz(3.1533, 2.6639, 4.3502)
Luminance0.0266 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38283A #2A3A28
analogous
#2F283A #38283A #3A2833
triadic
#38283A #3A3828 #283A38
tetradic
#38283A #3A2F28 #2A3A28 #28333A
square
#38283A #3A2F28 #2A3A28 #28333A
split-complementary
#38283A #333A28 #283A2F
monochromatic
#110C12 #150F16 #38283A #5B415E #7E5A82

Accessibility & contrast

On white

13.70
#38283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#38283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38283A
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38283A#FFFFFF#000000##FFFFFF
##38283A1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262C3B
Deuteranopia (green-blind)
#2A2E39
Tritanopia (blue-blind)
#392A2E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #38283a;
/* rgb */ color: rgb(56, 40, 58);
/* oklch */ color: oklch(30.3% 0.039 322.7);
Tailwind
colors: {
  custom: {
    50: '#6f6270',
    500: '#38283a',
    950: '#000000',
  },
}
SCSS
$custom: #38283a;
$custom-light: #6f6270;
$custom-dark: #000000;
JSON
{
  "hex": "#38283a",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 293.333,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30311,
    "c": 0.03863,
    "h": 322.7
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#38283A
secondary
#556B53
accent
#BB6D75
background
#F6F5F6
surface
#ECEAEC
border
#C7C6C7
text
#070507
muted
#7A797A

Preview Lab

Preview with #38283A

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

Preview Lab → · Contrast checker → · Palette generator →

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