#380C56#380C56

#380C56 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.124 H 306.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#380C56
RGBrgb(56, 12, 86)
HSLhsl(276, 76%, 19%)
HSVhsv(276, 86%, 34%)
CMYKcmyk(34.9%, 86%, 0%, 66.3%)
CIE-LABlab(14.26, 34.98, -34.83)
CIE-LCHlch(14.26, 49.36, 315.12°)
OKLaboklab(27.68% 0.0737 -0.0991)
OKLCHoklch(27.68% 0.124 306.6)
XYZxyz(3.4417, 1.7756, 8.9637)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C56 #2A560C
analogous
#130C56 #380C56 #560C4F
triadic
#380C56 #56380C #0C5638
tetradic
#380C56 #56130C #2A560C #0C4F56
square
#380C56 #56130C #2A560C #0C4F56
split-complementary
#380C56 #4F560C #0C5613
monochromatic
#11041B #150520 #380C56 #5B138C #7E1BC1

Accessibility & contrast

On white

15.50
#380C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C56
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C56#FFFFFF#000000##FFFFFF
##380C561.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#331F31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #380c56;
/* rgb */ color: rgb(56, 12, 86);
/* oklch */ color: oklch(27.7% 0.124 306.6);
Tailwind
colors: {
  custom: {
    50: '#735186',
    500: '#380c56',
    950: '#000000',
  },
}
SCSS
$custom: #380c56;
$custom-light: #735186;
$custom-dark: #000000;
JSON
{
  "hex": "#380c56",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 275.676,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.12355,
    "h": 306.6
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#380C56
secondary
#55912D
accent
#F23682
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380C56

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

Preview Lab → · Contrast checker → · Palette generator →

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