#38223C#38223C

#38223C is a dark, muted purple. Relative luminance 0.023; OKLCH L 29.1% C 0.055 H 321.3°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#38223C
RGBrgb(56, 34, 60)
HSLhsl(291, 28%, 18%)
HSVhsv(291, 43%, 24%)
CMYKcmyk(6.7%, 43.3%, 0%, 76.5%)
CIE-LABlab(17.04, 15.91, -12.49)
CIE-LCHlch(17.04, 20.23, 321.87°)
OKLaboklab(29.13% 0.0426 -0.0342)
OKLCHoklch(29.13% 0.055 321.3)
XYZxyz(3.0184, 2.3112, 4.5612)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38223C #263C22
analogous
#2B223C #38223C #3C2233
triadic
#38223C #3C3822 #223C38
tetradic
#38223C #3C2B22 #263C22 #22333C
square
#38223C #3C2B22 #263C22 #22333C
split-complementary
#38223C #333C22 #223C2B
monochromatic
#120B14 #140C15 #38223C #5C3863 #814E8A

Accessibility & contrast

On white

14.36
#38223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#38223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38223C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38223C#FFFFFF#000000##FFFFFF
##38223C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#242B3B
Tritanopia (blue-blind)
#39252C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #38223c;
/* rgb */ color: rgb(56, 34, 60);
/* oklch */ color: oklch(29.1% 0.055 321.3);
Tailwind
colors: {
  custom: {
    50: '#6f5d71',
    500: '#38223c',
    950: '#000000',
  },
}
SCSS
$custom: #38223c;
$custom-light: #6f5d71;
$custom-dark: #000000;
JSON
{
  "hex": "#38223c",
  "rgb": {
    "r": 56,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 290.769,
    "s": 27.66,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29125,
    "c": 0.05465,
    "h": 321.3
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#38223C
secondary
#506F4B
accent
#C46473
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#070407
muted
#7A797A

Preview Lab

Preview with #38223C

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

Preview Lab → · Contrast checker → · Palette generator →

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