#38114B#38114B

#38114B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.3% C 0.105 H 312.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#38114B
RGBrgb(56, 17, 75)
HSLhsl(280, 63%, 18%)
HSVhsv(280, 77%, 29%)
CMYKcmyk(25.3%, 77.3%, 0%, 70.6%)
CIE-LABlab(14.11, 29.97, -27.54)
CIE-LCHlch(14.11, 40.70, 317.41°)
OKLaboklab(27.28% 0.0708 -0.0778)
OKLCHoklch(27.28% 0.105 312.3)
XYZxyz(3.1011, 1.7497, 6.8296)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38114B #244B11
analogous
#1B114B #38114B #4B1141
triadic
#38114B #4B3811 #114B38
tetradic
#38114B #4B1B11 #244B11 #11414B
square
#38114B #4B1B11 #244B11 #11414B
split-complementary
#38114B #414B11 #114B1B
monochromatic
#130619 #130619 #38114B #5D1C7D #8328AF

Accessibility & contrast

On white

15.56
#38114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38114B
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38114B#FFFFFF#000000##FFFFFF
##38114B1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38114b;
/* rgb */ color: rgb(56, 17, 75);
/* oklch */ color: oklch(27.3% 0.105 312.3);
Tailwind
colors: {
  custom: {
    50: '#71537e',
    500: '#38114b',
    950: '#000000',
  },
}
SCSS
$custom: #38114b;
$custom-light: #71537e;
$custom-dark: #000000;
JSON
{
  "hex": "#38114b",
  "rgb": {
    "r": 56,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 280.345,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27282,
    "c": 0.10514,
    "h": 312.3
  },
  "luminance": 0.0175
}

Semantic roles & 50–950 ramp

primary
#38114B
secondary
#4E8433
accent
#E64278
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #38114B

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

Preview Lab → · Contrast checker → · Palette generator →

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