#380335#380335

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

Color values

HEX#380335
RGBrgb(56, 3, 53)
HSLhsl(303, 90%, 12%)
HSVhsv(303, 95%, 22%)
CMYKcmyk(0%, 94.6%, 5.4%, 78%)
CIE-LABlab(10.28, 31.46, -18.10)
CIE-LCHlch(10.28, 36.30, 330.09°)
OKLaboklab(24.03% 0.0896 -0.05)
OKLCHoklch(24.03% 0.103 330.8)
XYZxyz(2.3061, 1.1631, 3.4705)
Luminance0.0116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380335 #033806
analogous
#210338 #380335 #38031B
triadic
#380335 #353803 #033538
tetradic
#380335 #382103 #033806 #031B38
square
#380335 #382103 #033806 #031B38
split-complementary
#380335 #1B3803 #033821
monochromatic
#1D021B #1D021B #380335 #72066C #AC09A3

Accessibility & contrast

On white

17.04
#380335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380335
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380335#FFFFFF#000000##FFFFFF
##3803351.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001736
Deuteranopia (green-blind)
#141F34
Tritanopia (blue-blind)
#3B0A1C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380335;
/* rgb */ color: rgb(56, 3, 53);
/* oklch */ color: oklch(24.0% 0.103 330.8);
Tailwind
colors: {
  custom: {
    50: '#714b6c',
    500: '#380335',
    950: '#000000',
  },
}
SCSS
$custom: #380335;
$custom-light: #714b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#380335",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 303.396,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24033,
    "c": 0.10265,
    "h": 330.8
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#380335
secondary
#1C7B21
accent
#FF3529
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #380335

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

Preview Lab → · Contrast checker → · Palette generator →

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