#38283F#38283F

#38283F is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.6% C 0.046 H 315.3°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#38283F
RGBrgb(56, 40, 63)
HSLhsl(282, 22%, 20%)
HSVhsv(282, 37%, 25%)
CMYKcmyk(11.1%, 36.5%, 0%, 75.3%)
CIE-LABlab(18.87, 12.58, -11.74)
CIE-LCHlch(18.87, 17.21, 316.96°)
OKLaboklab(30.56% 0.0325 -0.0321)
OKLCHoklch(30.56% 0.046 315.3)
XYZxyz(3.2867, 2.7173, 5.0530)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38283F #2F3F28
analogous
#2C283F #38283F #3F283A
triadic
#38283F #3F3828 #283F38
tetradic
#38283F #3F2C28 #2F3F28 #283A3F
square
#38283F #3F2C28 #2F3F28 #283A3F
split-complementary
#38283F #3A3F28 #283F2C
monochromatic
#110C13 #17101A #38283F #594064 #7B588A

Accessibility & contrast

On white

13.61
#38283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38283F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38283F#FFFFFF#000000##FFFFFF
##38283F1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252D40
Deuteranopia (green-blind)
#282E3E
Tritanopia (blue-blind)
#382B30
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #38283f;
/* rgb */ color: rgb(56, 40, 63);
/* oklch */ color: oklch(30.6% 0.046 315.3);
Tailwind
colors: {
  custom: {
    50: '#6f6274',
    500: '#38283f',
    950: '#000000',
  },
}
SCSS
$custom: #38283f;
$custom-light: #6f6274;
$custom-dark: #000000;
JSON
{
  "hex": "#38283f",
  "rgb": {
    "r": 56,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 281.739,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.04567,
    "h": 315.3
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#38283F
secondary
#5B7152
accent
#BF6983
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #38283F

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

Preview Lab → · Contrast checker → · Palette generator →

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