#380E56#380E56

#380E56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.121 H 306.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#380E56
RGBrgb(56, 14, 86)
HSLhsl(275, 72%, 20%)
HSVhsv(275, 84%, 34%)
CMYKcmyk(34.9%, 83.7%, 0%, 66.3%)
CIE-LABlab(14.55, 34.14, -34.36)
CIE-LCHlch(14.55, 48.44, 314.82°)
OKLaboklab(27.88% 0.0719 -0.0978)
OKLCHoklch(27.88% 0.121 306.3)
XYZxyz(3.4673, 1.8267, 8.9722)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E56 #2C560E
analogous
#140E56 #380E56 #560E50
triadic
#380E56 #56380E #0E5638
tetradic
#380E56 #56140E #2C560E #0E5056
square
#380E56 #56140E #2C560E #0E5056
split-complementary
#380E56 #50560E #0E5614
monochromatic
#11041A #160521 #380E56 #5A178B #7D1FBF

Accessibility & contrast

On white

15.38
#380E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#380E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E56
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E56#FFFFFF#000000##FFFFFF
##380E561.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#332032
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #380e56;
/* rgb */ color: rgb(56, 14, 86);
/* oklch */ color: oklch(27.9% 0.121 306.3);
Tailwind
colors: {
  custom: {
    50: '#725286',
    500: '#380e56',
    950: '#000000',
  },
}
SCSS
$custom: #380e56;
$custom-light: #725286;
$custom-dark: #000000;
JSON
{
  "hex": "#380e56",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 86
  },
  "hsl": {
    "h": 275,
    "s": 72,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27882,
    "c": 0.12134,
    "h": 306.3
  },
  "luminance": 0.01827
}

Semantic roles & 50–950 ramp

primary
#380E56
secondary
#589030
accent
#EF3985
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380E56

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

Preview Lab → · Contrast checker → · Palette generator →

#380E56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva