#380338#380338

#380338 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.105 H 328.2°. Best body text is #FFFFFF at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#380338
RGBrgb(56, 3, 56)
HSLhsl(300, 90%, 12%)
HSVhsv(300, 95%, 22%)
CMYKcmyk(0%, 94.6%, 0%, 78%)
CIE-LABlab(10.50, 32.02, -19.94)
CIE-LCHlch(10.50, 37.72, 328.09°)
OKLaboklab(24.25% 0.0894 -0.0554)
OKLCHoklch(24.25% 0.105 328.2)
XYZxyz(2.3772, 1.1916, 3.8454)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380338 #033803
analogous
#1E0338 #380338 #38031E
triadic
#380338 #383803 #033838
tetradic
#380338 #381E03 #033803 #031E38
square
#380338 #381E03 #033803 #031E38
split-complementary
#380338 #1E3803 #03381E
monochromatic
#1D021D #1D021D #380338 #720672 #AC09AC

Accessibility & contrast

On white

16.96
#380338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380338
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380338#FFFFFF#000000##FFFFFF
##3803381.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001839
Deuteranopia (green-blind)
#131F37
Tritanopia (blue-blind)
#3A0C1E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380338;
/* rgb */ color: rgb(56, 3, 56);
/* oklch */ color: oklch(24.3% 0.105 328.2);
Tailwind
colors: {
  custom: {
    50: '#714b6f',
    500: '#380338',
    950: '#000000',
  },
}
SCSS
$custom: #380338;
$custom-light: #714b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380338",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24252,
    "c": 0.1052,
    "h": 328.2
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#380338
secondary
#1C7B1C
accent
#FF2929
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #380338

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

Preview Lab → · Contrast checker → · Palette generator →

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