#380D55#380D55

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

Color values

HEX#380D55
RGBrgb(56, 13, 85)
HSLhsl(276, 73%, 19%)
HSVhsv(276, 85%, 33%)
CMYKcmyk(34.1%, 84.7%, 0%, 66.7%)
CIE-LABlab(14.31, 34.31, -34.07)
CIE-LCHlch(14.31, 48.35, 315.21°)
OKLaboklab(27.69% 0.0731 -0.0969)
OKLCHoklch(27.69% 0.121 307)
XYZxyz(3.4141, 1.7845, 8.7572)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D55 #2A550D
analogous
#140D55 #380D55 #550D4E
triadic
#380D55 #55380D #0D5538
tetradic
#380D55 #55140D #2A550D #0D4E55
square
#380D55 #55140D #2A550D #0D4E55
split-complementary
#380D55 #4E550D #0D5514
monochromatic
#11041B #150520 #380D55 #5B158A #7E1DBF

Accessibility & contrast

On white

15.48
#380D55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380D55
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D55#FFFFFF#000000##FFFFFF
##380D551.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380d55;
/* rgb */ color: rgb(56, 13, 85);
/* oklch */ color: oklch(27.7% 0.121 307.0);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#380d55',
    950: '#000000',
  },
}
SCSS
$custom: #380d55;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#380d55",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 85
  },
  "hsl": {
    "h": 275.833,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27688,
    "c": 0.12138,
    "h": 307
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#380D55
secondary
#55902E
accent
#F03882
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380D55

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

Preview Lab → · Contrast checker → · Palette generator →

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