#380333#380333

#380333 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.9% C 0.101 H 332.6°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#380333
RGBrgb(56, 3, 51)
HSLhsl(306, 90%, 12%)
HSVhsv(306, 95%, 22%)
CMYKcmyk(0%, 94.6%, 8.9%, 78%)
CIE-LABlab(10.15, 31.10, -16.85)
CIE-LCHlch(10.15, 35.37, 331.55°)
OKLaboklab(23.89% 0.0897 -0.0464)
OKLCHoklch(23.89% 0.101 332.6)
XYZxyz(2.2610, 1.1451, 3.2333)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380333 #033808
analogous
#230338 #380333 #380319
triadic
#380333 #333803 #033338
tetradic
#380333 #382303 #033808 #031938
square
#380333 #382303 #033808 #031938
split-complementary
#380333 #193803 #033823
monochromatic
#1D021A #1D021A #380333 #720668 #AC099D

Accessibility & contrast

On white

17.09
#380333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#380333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380333
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380333#FFFFFF#000000##FFFFFF
##3803331.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011734
Deuteranopia (green-blind)
#161E32
Tritanopia (blue-blind)
#3B091B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380333;
/* rgb */ color: rgb(56, 3, 51);
/* oklch */ color: oklch(23.9% 0.101 332.6);
Tailwind
colors: {
  custom: {
    50: '#714b6b',
    500: '#380333',
    950: '#000000',
  },
}
SCSS
$custom: #380333;
$custom-light: #714b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#380333",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 305.66,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23892,
    "c": 0.10098,
    "h": 332.6
  },
  "luminance": 0.01145
}

Semantic roles & 50–950 ramp

primary
#380333
secondary
#1C7B25
accent
#FF3D29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #380333

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

Preview Lab → · Contrast checker → · Palette generator →

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