#380341#380341

#380341 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 25.0% C 0.113 H 321.1°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#380341
RGBrgb(56, 3, 65)
HSLhsl(291, 91%, 13%)
HSVhsv(291, 95%, 25%)
CMYKcmyk(13.8%, 95.4%, 0%, 74.5%)
CIE-LABlab(11.19, 33.80, -25.27)
CIE-LCHlch(11.19, 42.20, 323.22°)
OKLaboklab(24.96% 0.0881 -0.071)
OKLCHoklch(24.96% 0.113 321.1)
XYZxyz(2.6175, 1.2877, 5.1107)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380341 #0C4103
analogous
#190341 #380341 #41032B
triadic
#380341 #413803 #034138
tetradic
#380341 #411903 #0C4103 #032B41
square
#380341 #411903 #0C4103 #032B41
split-complementary
#380341 #2B4103 #034119
monochromatic
#19011D #19011D #380341 #6A067B #9D08B6

Accessibility & contrast

On white

16.70
#380341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380341
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380341#FFFFFF#000000##FFFFFF
##3803411.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#0B2040
Tritanopia (blue-blind)
#381123
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #380341;
/* rgb */ color: rgb(56, 3, 65);
/* oklch */ color: oklch(25.0% 0.113 321.1);
Tailwind
colors: {
  custom: {
    50: '#724c76',
    500: '#380341',
    950: '#000000',
  },
}
SCSS
$custom: #380341;
$custom-light: #724c76;
$custom-dark: #000000;
JSON
{
  "hex": "#380341",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 65
  },
  "hsl": {
    "h": 291.29,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24961,
    "c": 0.11312,
    "h": 321.1
  },
  "luminance": 0.01288
}

Semantic roles & 50–950 ramp

primary
#380341
secondary
#2C831D
accent
#FF2948
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080108
muted
#7B777B

Preview Lab

Preview with #380341

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

Preview Lab → · Contrast checker → · Palette generator →

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