#380C54#380C54

#380C54 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.5% C 0.121 H 307.7°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#380C54
RGBrgb(56, 12, 84)
HSLhsl(277, 75%, 19%)
HSVhsv(277, 86%, 33%)
CMYKcmyk(33.3%, 85.7%, 0%, 67.1%)
CIE-LABlab(14.08, 34.48, -33.77)
CIE-LCHlch(14.08, 48.26, 315.60°)
OKLaboklab(27.5% 0.0743 -0.096)
OKLCHoklch(27.5% 0.121 307.7)
XYZxyz(3.3623, 1.7438, 8.5453)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C54 #28540C
analogous
#140C54 #380C54 #540C4C
triadic
#380C54 #54380C #0C5438
tetradic
#380C54 #54140C #28540C #0C4C54
square
#380C54 #54140C #28540C #0C4C54
split-complementary
#380C54 #4C540C #0C5414
monochromatic
#12041B #14041E #380C54 #5C148A #7F1BBF

Accessibility & contrast

On white

15.57
#380C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#380C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380C54
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C54#FFFFFF#000000##FFFFFF
##380C541.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#331F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380c54;
/* rgb */ color: rgb(56, 12, 84);
/* oklch */ color: oklch(27.5% 0.121 307.7);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#380c54',
    950: '#000000',
  },
}
SCSS
$custom: #380c54;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#380c54",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 276.667,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27497,
    "c": 0.1214,
    "h": 307.7
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#380C54
secondary
#538F2D
accent
#F2367F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380C54

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

Preview Lab → · Contrast checker → · Palette generator →

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