#380E54#380E54

#380E54 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.119 H 307.4°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#380E54
RGBrgb(56, 14, 84)
HSLhsl(276, 71%, 19%)
HSVhsv(276, 83%, 33%)
CMYKcmyk(33.3%, 83.3%, 0%, 67.1%)
CIE-LABlab(14.37, 33.63, -33.29)
CIE-LCHlch(14.37, 47.32, 315.29°)
OKLaboklab(27.7% 0.0724 -0.0946)
OKLCHoklch(27.7% 0.119 307.4)
XYZxyz(3.3878, 1.7950, 8.5538)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E54 #2A540E
analogous
#150E54 #380E54 #540E4D
triadic
#380E54 #54380E #0E5438
tetradic
#380E54 #54150E #2A540E #0E4D54
square
#380E54 #54150E #2A540E #0E4D54
split-complementary
#380E54 #4D540E #0E5415
monochromatic
#11041A #150520 #380E54 #5B1788 #7E1FBD

Accessibility & contrast

On white

15.45
#380E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#380E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380E54
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E54#FFFFFF#000000##FFFFFF
##380E541.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002356
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#332031
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380e54;
/* rgb */ color: rgb(56, 14, 84);
/* oklch */ color: oklch(27.7% 0.119 307.4);
Tailwind
colors: {
  custom: {
    50: '#725285',
    500: '#380e54',
    950: '#000000',
  },
}
SCSS
$custom: #380e54;
$custom-light: #725285;
$custom-dark: #000000;
JSON
{
  "hex": "#380e54",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27701,
    "c": 0.11914,
    "h": 307.4
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#380E54
secondary
#558E2F
accent
#EE3A82
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380E54

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

Preview Lab → · Contrast checker → · Palette generator →

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