#380337#380337

#380337 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.104 H 329.1°. Best body text is #FFFFFF at 16.98:1 contrast (WCAG AA passes).

Color values

HEX#380337
RGBrgb(56, 3, 55)
HSLhsl(301, 90%, 12%)
HSVhsv(301, 95%, 22%)
CMYKcmyk(0%, 94.6%, 1.8%, 78%)
CIE-LABlab(10.42, 31.83, -19.33)
CIE-LCHlch(10.42, 37.24, 328.73°)
OKLaboklab(24.18% 0.0895 -0.0536)
OKLCHoklch(24.18% 0.104 329.1)
XYZxyz(2.3530, 1.1819, 3.7179)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380337 #033804
analogous
#1F0338 #380337 #38031D
triadic
#380337 #373803 #033738
tetradic
#380337 #381F03 #033804 #031D38
square
#380337 #381F03 #033804 #031D38
split-complementary
#380337 #1D3803 #03381F
monochromatic
#1D021D #1D021D #380337 #720670 #AC09A9

Accessibility & contrast

On white

16.98
#380337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380337
16.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380337#FFFFFF#000000##FFFFFF
##3803371.0016.981.2416.98
#FFFFFF16.981.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#131F36
Tritanopia (blue-blind)
#3A0B1D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #380337;
/* rgb */ color: rgb(56, 3, 55);
/* oklch */ color: oklch(24.2% 0.104 329.1);
Tailwind
colors: {
  custom: {
    50: '#714b6e',
    500: '#380337',
    950: '#000000',
  },
}
SCSS
$custom: #380337;
$custom-light: #714b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#380337",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 301.132,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24178,
    "c": 0.10434,
    "h": 329.1
  },
  "luminance": 0.01182
}

Semantic roles & 50–950 ramp

primary
#380337
secondary
#1C7B1E
accent
#FF2D29
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #380337

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

Preview Lab → · Contrast checker → · Palette generator →

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