#380F4A#380F4A

#380F4A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.107 H 313.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#380F4A
RGBrgb(56, 15, 74)
HSLhsl(282, 66%, 17%)
HSVhsv(282, 80%, 29%)
CMYKcmyk(24.3%, 79.7%, 0%, 71%)
CIE-LABlab(13.69, 30.69, -27.53)
CIE-LCHlch(13.69, 41.23, 318.10°)
OKLaboklab(26.96% 0.0733 -0.0777)
OKLCHoklch(26.96% 0.107 313.3)
XYZxyz(3.0375, 1.6769, 6.6409)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4A #214A0F
analogous
#1B0F4A #380F4A #4A0F3E
triadic
#380F4A #4A380F #0F4A38
tetradic
#380F4A #4A1B0F #214A0F #0F3E4A
square
#380F4A #4A1B0F #214A0F #0F3E4A
split-complementary
#380F4A #3E4A0F #0F4A1B
monochromatic
#130519 #130519 #380F4A #5F197D #8524B0

Accessibility & contrast

On white

15.73
#380F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F4A
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4A#FFFFFF#000000##FFFFFF
##380F4A1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#361C2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380f4a;
/* rgb */ color: rgb(56, 15, 74);
/* oklch */ color: oklch(27.0% 0.107 313.3);
Tailwind
colors: {
  custom: {
    50: '#71527d',
    500: '#380f4a',
    950: '#000000',
  },
}
SCSS
$custom: #380f4a;
$custom-light: #71527d;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4a",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 281.695,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.26955,
    "c": 0.10685,
    "h": 313.3
  },
  "luminance": 0.01677
}

Semantic roles & 50–950 ramp

primary
#380F4A
secondary
#4A8430
accent
#E93F73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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