#380239#380239

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

Color values

HEX#380239
RGBrgb(56, 2, 57)
HSLhsl(299, 93%, 12%)
HSVhsv(299, 96%, 22%)
CMYKcmyk(1.8%, 96.5%, 0%, 77.6%)
CIE-LABlab(10.41, 32.68, -20.80)
CIE-LCHlch(10.41, 38.74, 327.53°)
OKLaboklab(24.21% 0.0907 -0.0579)
OKLCHoklch(24.21% 0.108 327.5)
XYZxyz(2.3911, 1.1798, 3.9719)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380239 #033902
analogous
#1D0239 #380239 #39021F
triadic
#380239 #393802 #023938
tetradic
#380239 #391D02 #033902 #021F39
square
#380239 #391D02 #033902 #021F39
split-complementary
#380239 #1F3902 #02391D
monochromatic
#1D011E #1D011E #380239 #720474 #AC06AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##380239#FFFFFF#000000##FFFFFF
##3802391.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)
#00183A
Deuteranopia (green-blind)
#111F38
Tritanopia (blue-blind)
#3A0B1E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380239;
/* rgb */ color: rgb(56, 2, 57);
/* oklch */ color: oklch(24.2% 0.108 327.5);
Tailwind
colors: {
  custom: {
    50: '#714b70',
    500: '#380239',
    950: '#000000',
  },
}
SCSS
$custom: #380239;
$custom-light: #714b70;
$custom-dark: #000000;
JSON
{
  "hex": "#380239",
  "rgb": {
    "r": 56,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 298.909,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24213,
    "c": 0.10758,
    "h": 327.5
  },
  "luminance": 0.0118
}

Semantic roles & 50–950 ramp

primary
#380239
secondary
#1C7D1A
accent
#FF292D
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #380239

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

Preview Lab → · Contrast checker → · Palette generator →

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