#380C55#380C55

#380C55 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.122 H 307.2°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#380C55
RGBrgb(56, 12, 85)
HSLhsl(276, 75%, 19%)
HSVhsv(276, 86%, 33%)
CMYKcmyk(34.1%, 85.9%, 0%, 66.7%)
CIE-LABlab(14.17, 34.72, -34.30)
CIE-LCHlch(14.17, 48.81, 315.36°)
OKLaboklab(27.59% 0.074 -0.0976)
OKLCHoklch(27.59% 0.122 307.2)
XYZxyz(3.4017, 1.7596, 8.7530)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C55 #29550C
analogous
#130C55 #380C55 #550C4E
triadic
#380C55 #55380C #0C5538
tetradic
#380C55 #55130C #29550C #0C4E55
square
#380C55 #55130C #29550C #0C4E55
split-complementary
#380C55 #4E550C #0C5513
monochromatic
#12041B #15041F #380C55 #5B148B #7F1BC0

Accessibility & contrast

On white

15.53
#380C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C55
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C55#FFFFFF#000000##FFFFFF
##380C551.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380c55;
/* rgb */ color: rgb(56, 12, 85);
/* oklch */ color: oklch(27.6% 0.122 307.2);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#380c55',
    950: '#000000',
  },
}
SCSS
$custom: #380c55;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#380c55",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 276.164,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27589,
    "c": 0.12248,
    "h": 307.2
  },
  "luminance": 0.0176
}

Semantic roles & 50–950 ramp

primary
#380C55
secondary
#54902D
accent
#F23681
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380C55

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

Preview Lab → · Contrast checker → · Palette generator →

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