#380F47#380F47

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

Color values

HEX#380F47
RGBrgb(56, 15, 71)
HSLhsl(284, 65%, 17%)
HSVhsv(284, 79%, 28%)
CMYKcmyk(21.1%, 78.9%, 0%, 72.2%)
CIE-LABlab(13.46, 29.97, -25.83)
CIE-LCHlch(13.46, 39.56, 319.24°)
OKLaboklab(26.71% 0.0737 -0.0727)
OKLCHoklch(26.71% 0.104 315.4)
XYZxyz(2.9389, 1.6374, 6.1213)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F47 #1E470F
analogous
#1C0F47 #380F47 #470F3A
triadic
#380F47 #47380F #0F4738
tetradic
#380F47 #471C0F #1E470F #0F3A47
square
#380F47 #471C0F #1E470F #0F3A47
split-complementary
#380F47 #3A470F #0F471C
monochromatic
#140519 #140519 #380F47 #601A7A #8824AC

Accessibility & contrast

On white

15.82
#380F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380F47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F47
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F47#FFFFFF#000000##FFFFFF
##380F471.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380f47;
/* rgb */ color: rgb(56, 15, 71);
/* oklch */ color: oklch(26.7% 0.104 315.4);
Tailwind
colors: {
  custom: {
    50: '#71527a',
    500: '#380f47',
    950: '#000000',
  },
}
SCSS
$custom: #380f47;
$custom-light: #71527a;
$custom-dark: #000000;
JSON
{
  "hex": "#380f47",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 283.929,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26713,
    "c": 0.10354,
    "h": 315.4
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#380F47
secondary
#468130
accent
#E8406D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F47

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

Preview Lab → · Contrast checker → · Palette generator →

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