#380640#380640

#380640 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.2% C 0.108 H 321.6°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#380640
RGBrgb(56, 6, 64)
HSLhsl(292, 83%, 14%)
HSVhsv(292, 91%, 25%)
CMYKcmyk(12.5%, 90.6%, 0%, 74.9%)
CIE-LABlab(11.56, 32.27, -23.96)
CIE-LCHlch(11.56, 40.19, 323.41°)
OKLaboklab(25.2% 0.0848 -0.0672)
OKLCHoklch(25.2% 0.108 321.6)
XYZxyz(2.6213, 1.3413, 4.9703)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380640 #0E4006
analogous
#1B0640 #380640 #40062B
triadic
#380640 #403806 #064038
tetradic
#380640 #401B06 #0E4006 #062B40
square
#380640 #401B06 #0E4006 #062B40
split-complementary
#380640 #2B4006 #06401B
monochromatic
#18031C #18031C #380640 #690B78 #9A10B0

Accessibility & contrast

On white

16.56
#380640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#380640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380640
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380640#FFFFFF#000000##FFFFFF
##3806401.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#0E203F
Tritanopia (blue-blind)
#391223
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380640;
/* rgb */ color: rgb(56, 6, 64);
/* oklch */ color: oklch(25.2% 0.108 321.6);
Tailwind
colors: {
  custom: {
    50: '#714d75',
    500: '#380640',
    950: '#000000',
  },
}
SCSS
$custom: #380640;
$custom-light: #714d75;
$custom-dark: #000000;
JSON
{
  "hex": "#380640",
  "rgb": {
    "r": 56,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 291.724,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25197,
    "c": 0.10813,
    "h": 321.6
  },
  "luminance": 0.01341
}

Semantic roles & 50–950 ramp

primary
#380640
secondary
#2F8022
accent
#F92F4B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380640

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

Preview Lab → · Contrast checker → · Palette generator →

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