#38114A#38114A

#38114A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.104 H 313.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#38114A
RGBrgb(56, 17, 74)
HSLhsl(281, 63%, 18%)
HSVhsv(281, 77%, 29%)
CMYKcmyk(24.3%, 77%, 0%, 71%)
CIE-LABlab(14.04, 29.71, -26.98)
CIE-LCHlch(14.04, 40.13, 317.76°)
OKLaboklab(27.2% 0.0709 -0.0761)
OKLCHoklch(27.2% 0.104 313)
XYZxyz(3.0671, 1.7362, 6.6508)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38114A #234A11
analogous
#1C114A #38114A #4A113F
triadic
#38114A #4A3811 #114A38
tetradic
#38114A #4A1C11 #234A11 #113F4A
square
#38114A #4A1C11 #234A11 #113F4A
split-complementary
#38114A #3F4A11 #114A1C
monochromatic
#130619 #130619 #38114A #5E1C7C #8328AE

Accessibility & contrast

On white

15.59
#38114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#38114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38114A
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38114A#FFFFFF#000000##FFFFFF
##38114A1.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0C2549
Tritanopia (blue-blind)
#361D2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #38114a;
/* rgb */ color: rgb(56, 17, 74);
/* oklch */ color: oklch(27.2% 0.104 313.0);
Tailwind
colors: {
  custom: {
    50: '#71537d',
    500: '#38114a',
    950: '#000000',
  },
}
SCSS
$custom: #38114a;
$custom-light: #71537d;
$custom-dark: #000000;
JSON
{
  "hex": "#38114a",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 281.053,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27201,
    "c": 0.104,
    "h": 313
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#38114A
secondary
#4D8333
accent
#E64276
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #38114A

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

Preview Lab → · Contrast checker → · Palette generator →

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