#380E47#380E47

#380E47 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.105 H 315.5°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#380E47
RGBrgb(56, 14, 71)
HSLhsl(284, 67%, 17%)
HSVhsv(284, 80%, 28%)
CMYKcmyk(21.1%, 80.3%, 0%, 72.2%)
CIE-LABlab(13.29, 30.44, -26.10)
CIE-LCHlch(13.29, 40.09, 319.39°)
OKLaboklab(26.6% 0.0749 -0.0735)
OKLCHoklch(26.6% 0.105 315.5)
XYZxyz(2.9251, 1.6099, 6.1167)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E47 #1D470E
analogous
#1C0E47 #380E47 #470E3A
triadic
#380E47 #47380E #0E4738
tetradic
#380E47 #471C0E #1D470E #0E3A47
square
#380E47 #471C0E #1D470E #0E3A47
split-complementary
#380E47 #3A470E #0E471C
monochromatic
#14051A #14051A #380E47 #60187A #8922AD

Accessibility & contrast

On white

15.89
#380E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E47
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E47#FFFFFF#000000##FFFFFF
##380E471.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002049
Deuteranopia (green-blind)
#0D2346
Tritanopia (blue-blind)
#371A29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380e47;
/* rgb */ color: rgb(56, 14, 71);
/* oklch */ color: oklch(26.6% 0.105 315.5);
Tailwind
colors: {
  custom: {
    50: '#71517b',
    500: '#380e47',
    950: '#000000',
  },
}
SCSS
$custom: #380e47;
$custom-light: #71517b;
$custom-dark: #000000;
JSON
{
  "hex": "#380e47",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 284.211,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26595,
    "c": 0.10494,
    "h": 315.5
  },
  "luminance": 0.0161
}

Semantic roles & 50–950 ramp

primary
#380E47
secondary
#45822F
accent
#EA3E6B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380E47

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

Preview Lab → · Contrast checker → · Palette generator →

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