#380E48#380E48

#380E48 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.106 H 314.8°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#380E48
RGBrgb(56, 14, 72)
HSLhsl(283, 67%, 17%)
HSVhsv(283, 81%, 28%)
CMYKcmyk(22.2%, 80.6%, 0%, 71.8%)
CIE-LABlab(13.37, 30.68, -26.67)
CIE-LCHlch(13.37, 40.65, 319.00°)
OKLaboklab(26.67% 0.0748 -0.0752)
OKLCHoklch(26.67% 0.106 314.8)
XYZxyz(2.9574, 1.6228, 6.2871)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E48 #1E480E
analogous
#1B0E48 #380E48 #480E3B
triadic
#380E48 #48380E #0E4838
tetradic
#380E48 #481B0E #1E480E #0E3B48
square
#380E48 #481B0E #1E480E #0E3B48
split-complementary
#380E48 #3B480E #0E481B
monochromatic
#14051A #14051A #380E48 #60187B #8822AE

Accessibility & contrast

On white

15.85
#380E48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#380E48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E48
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E48#FFFFFF#000000##FFFFFF
##380E481.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#0C2347
Tritanopia (blue-blind)
#371A2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380e48;
/* rgb */ color: rgb(56, 14, 72);
/* oklch */ color: oklch(26.7% 0.106 314.8);
Tailwind
colors: {
  custom: {
    50: '#71517b',
    500: '#380e48',
    950: '#000000',
  },
}
SCSS
$custom: #380e48;
$custom-light: #71517b;
$custom-dark: #000000;
JSON
{
  "hex": "#380e48",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 72
  },
  "hsl": {
    "h": 283.448,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.10602,
    "h": 314.8
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#380E48
secondary
#46832F
accent
#EA3D6D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380E48

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

Preview Lab → · Contrast checker → · Palette generator →

#380E48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva