#380532#380532

#380532 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.097 H 333.6°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#380532
RGBrgb(56, 5, 50)
HSLhsl(307, 84%, 12%)
HSVhsv(307, 91%, 22%)
CMYKcmyk(0%, 91.1%, 10.7%, 78%)
CIE-LABlab(10.41, 29.97, -15.71)
CIE-LCHlch(10.41, 33.84, 332.34°)
OKLaboklab(24.06% 0.0869 -0.0431)
OKLCHoklch(24.06% 0.097 333.6)
XYZxyz(2.2609, 1.1798, 3.1256)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380532 #05380B
analogous
#250538 #380532 #380519
triadic
#380532 #323805 #053238
tetradic
#380532 #382505 #05380B #051938
square
#380532 #382505 #05380B #051938
split-complementary
#380532 #193805 #053825
monochromatic
#1C0319 #1C0319 #380532 #700A64 #A80F96

Accessibility & contrast

On white

16.99
#380532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#380532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380532
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380532#FFFFFF#000000##FFFFFF
##3805321.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#171F31
Tritanopia (blue-blind)
#3B0A1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380532;
/* rgb */ color: rgb(56, 5, 50);
/* oklch */ color: oklch(24.1% 0.097 333.6);
Tailwind
colors: {
  custom: {
    50: '#714c6a',
    500: '#380532',
    950: '#000000',
  },
}
SCSS
$custom: #380532;
$custom-light: #714c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#380532",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 307.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24057,
    "c": 0.09699,
    "h": 333.6
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#380532
secondary
#20792A
accent
#FA462E
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #380532

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

Preview Lab → · Contrast checker → · Palette generator →

#380532 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva