#380538#380538

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

Color values

HEX#380538
RGBrgb(56, 5, 56)
HSLhsl(300, 84%, 12%)
HSVhsv(300, 91%, 22%)
CMYKcmyk(0%, 91.1%, 0%, 78%)
CIE-LABlab(10.81, 31.09, -19.43)
CIE-LCHlch(10.81, 36.66, 328.00°)
OKLaboklab(24.48% 0.0868 -0.0539)
OKLCHoklch(24.48% 0.102 328.2)
XYZxyz(2.3989, 1.2350, 3.8526)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380538 #053805
analogous
#1F0538 #380538 #38051F
triadic
#380538 #383805 #053838
tetradic
#380538 #381F05 #053805 #051F38
square
#380538 #381F05 #053805 #051F38
split-complementary
#380538 #1F3805 #05381F
monochromatic
#1C031C #1C031C #380538 #700A70 #A80FA8

Accessibility & contrast

On white

16.84
#380538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#380538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380538
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380538#FFFFFF#000000##FFFFFF
##3805381.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#141F37
Tritanopia (blue-blind)
#3A0D1E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #380538;
/* rgb */ color: rgb(56, 5, 56);
/* oklch */ color: oklch(24.5% 0.102 328.2);
Tailwind
colors: {
  custom: {
    50: '#714c6f',
    500: '#380538',
    950: '#000000',
  },
}
SCSS
$custom: #380538;
$custom-light: #714c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#380538",
  "rgb": {
    "r": 56,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 300,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24477,
    "c": 0.1022,
    "h": 328.2
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#380538
secondary
#207920
accent
#FA2E2E
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #380538

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

Preview Lab → · Contrast checker → · Palette generator →

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