#38153C#38153C

#38153C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.081 H 323.4°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#38153C
RGBrgb(56, 21, 60)
HSLhsl(294, 48%, 16%)
HSVhsv(294, 65%, 24%)
CMYKcmyk(6.7%, 65%, 0%, 76.5%)
CIE-LABlab(13.85, 24.18, -17.48)
CIE-LCHlch(13.85, 29.84, 324.14°)
OKLaboklab(26.75% 0.0653 -0.0484)
OKLCHoklch(26.75% 0.081 323.4)
XYZxyz(2.7146, 1.7035, 4.4599)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38153C #193C15
analogous
#24153C #38153C #3C152C
triadic
#38153C #3C3815 #153C38
tetradic
#38153C #3C2415 #193C15 #152C3C
square
#38153C #3C2415 #193C15 #152C3C
split-complementary
#38153C #2C3C15 #153C24
monochromatic
#150817 #150817 #38153C #622569 #8D3597

Accessibility & contrast

On white

15.66
#38153C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#38153C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38153C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38153C#FFFFFF#000000##FFFFFF
##38153C1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213D
Deuteranopia (green-blind)
#1B253B
Tritanopia (blue-blind)
#391A26
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #38153c;
/* rgb */ color: rgb(56, 21, 60);
/* oklch */ color: oklch(26.8% 0.081 323.4);
Tailwind
colors: {
  custom: {
    50: '#705472',
    500: '#38153c',
    950: '#000000',
  },
}
SCSS
$custom: #38153c;
$custom-light: #705472;
$custom-dark: #000000;
JSON
{
  "hex": "#38153c",
  "rgb": {
    "r": 56,
    "g": 21,
    "b": 60
  },
  "hsl": {
    "h": 293.846,
    "s": 48.148,
    "l": 15.882
  },
  "oklch": {
    "l": 0.2675,
    "c": 0.08128,
    "h": 323.4
  },
  "luminance": 0.01703
}

Semantic roles & 50–950 ramp

primary
#38153C
secondary
#3F7439
accent
#D8505E
background
#F6F5F6
surface
#ECE8EC
border
#C7C4C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #38153C

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

Preview Lab → · Contrast checker → · Palette generator →

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