#380336#380336

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

Color values

HEX#380336
RGBrgb(56, 3, 54)
HSLhsl(302, 90%, 12%)
HSVhsv(302, 95%, 22%)
CMYKcmyk(0%, 94.6%, 3.6%, 78%)
CIE-LABlab(10.35, 31.65, -18.71)
CIE-LCHlch(10.35, 36.77, 329.40°)
OKLaboklab(24.1% 0.0896 -0.0518)
OKLCHoklch(24.1% 0.103 330)
XYZxyz(2.3293, 1.1724, 3.5929)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380336 #033805
analogous
#200338 #380336 #38031C
triadic
#380336 #363803 #033638
tetradic
#380336 #382003 #033805 #031C38
square
#380336 #382003 #033805 #031C38
split-complementary
#380336 #1C3803 #033820
monochromatic
#1D021C #1D021C #380336 #72066E #AC09A6

Accessibility & contrast

On white

17.01
#380336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380336
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380336#FFFFFF#000000##FFFFFF
##3803361.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#141F35
Tritanopia (blue-blind)
#3A0B1D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380336;
/* rgb */ color: rgb(56, 3, 54);
/* oklch */ color: oklch(24.1% 0.103 330.0);
Tailwind
colors: {
  custom: {
    50: '#714b6d',
    500: '#380336',
    950: '#000000',
  },
}
SCSS
$custom: #380336;
$custom-light: #714b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#380336",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 302.264,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24105,
    "c": 0.10349,
    "h": 330
  },
  "luminance": 0.01172
}

Semantic roles & 50–950 ramp

primary
#380336
secondary
#1C7B20
accent
#FF3129
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #380336

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

Preview Lab → · Contrast checker → · Palette generator →

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