#380330#380330

#380330 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.099 H 335.4°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#380330
RGBrgb(56, 3, 48)
HSLhsl(309, 90%, 12%)
HSVhsv(309, 95%, 22%)
CMYKcmyk(0%, 94.6%, 14.3%, 78%)
CIE-LABlab(9.95, 30.58, -14.96)
CIE-LCHlch(9.95, 34.04, 333.93°)
OKLaboklab(23.69% 0.0896 -0.0409)
OKLCHoklch(23.69% 0.099 335.4)
XYZxyz(2.1970, 1.1195, 2.8961)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380330 #03380B
analogous
#260338 #380330 #380316
triadic
#380330 #303803 #033038
tetradic
#380330 #382603 #03380B #031638
square
#380330 #382603 #03380B #031638
split-complementary
#380330 #163803 #033826
monochromatic
#1D0219 #1D0219 #380330 #720662 #AC0994

Accessibility & contrast

On white

17.16
#380330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#380330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380330
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380330#FFFFFF#000000##FFFFFF
##3803301.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031631
Deuteranopia (green-blind)
#171E2F
Tritanopia (blue-blind)
#3B0719
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #380330;
/* rgb */ color: rgb(56, 3, 48);
/* oklch */ color: oklch(23.7% 0.099 335.4);
Tailwind
colors: {
  custom: {
    50: '#714b68',
    500: '#380330',
    950: '#000000',
  },
}
SCSS
$custom: #380330;
$custom-light: #714b68;
$custom-dark: #000000;
JSON
{
  "hex": "#380330",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 48
  },
  "hsl": {
    "h": 309.057,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23689,
    "c": 0.09853,
    "h": 335.4
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#380330
secondary
#1C7B2A
accent
#FF4929
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #380330

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

Preview Lab → · Contrast checker → · Palette generator →

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