#380340#380340

#380340 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.9% C 0.112 H 321.9°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#380340
RGBrgb(56, 3, 64)
HSLhsl(292, 91%, 13%)
HSVhsv(292, 95%, 25%)
CMYKcmyk(12.5%, 95.3%, 0%, 74.9%)
CIE-LABlab(11.11, 33.59, -24.69)
CIE-LCHlch(11.11, 41.69, 323.69°)
OKLaboklab(24.88% 0.0883 -0.0693)
OKLCHoklch(24.88% 0.112 321.9)
XYZxyz(2.5888, 1.2762, 4.9595)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380340 #0B4003
analogous
#190340 #380340 #400329
triadic
#380340 #403803 #034038
tetradic
#380340 #401903 #0B4003 #032940
square
#380340 #401903 #0B4003 #032940
split-complementary
#380340 #294003 #034019
monochromatic
#1A011D #1A011D #380340 #6B067A #9E08B5

Accessibility & contrast

On white

16.73
#380340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#380340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380340
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380340#FFFFFF#000000##FFFFFF
##3803401.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A42
Deuteranopia (green-blind)
#0C203F
Tritanopia (blue-blind)
#391022
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #380340;
/* rgb */ color: rgb(56, 3, 64);
/* oklch */ color: oklch(24.9% 0.112 321.9);
Tailwind
colors: {
  custom: {
    50: '#714c75',
    500: '#380340',
    950: '#000000',
  },
}
SCSS
$custom: #380340;
$custom-light: #714c75;
$custom-dark: #000000;
JSON
{
  "hex": "#380340",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 64
  },
  "hsl": {
    "h": 292.131,
    "s": 91.045,
    "l": 13.137
  },
  "oklch": {
    "l": 0.24878,
    "c": 0.11223,
    "h": 321.9
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#380340
secondary
#2A821D
accent
#FF2945
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #380340

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

Preview Lab → · Contrast checker → · Palette generator →

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