#380D50#380D50

#380D50 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.116 H 309.9°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#380D50
RGBrgb(56, 13, 80)
HSLhsl(279, 72%, 18%)
HSVhsv(279, 84%, 31%)
CMYKcmyk(30%, 83.7%, 0%, 68.6%)
CIE-LABlab(13.87, 33.07, -31.37)
CIE-LCHlch(13.87, 45.58, 316.51°)
OKLaboklab(27.24% 0.0744 -0.089)
OKLCHoklch(27.24% 0.116 309.9)
XYZxyz(3.2225, 1.7079, 7.7478)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380D50 #25500D
analogous
#160D50 #380D50 #500D46
triadic
#380D50 #50380D #0D5038
tetradic
#380D50 #50160D #25500D #0D4650
square
#380D50 #50160D #25500D #0D4650
split-complementary
#380D50 #46500D #0D5016
monochromatic
#12041A #13041B #380D50 #5D1685 #821EB9

Accessibility & contrast

On white

15.65
#380D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380D50
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380D50#FFFFFF#000000##FFFFFF
##380D501.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#00244F
Tritanopia (blue-blind)
#351D2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380d50;
/* rgb */ color: rgb(56, 13, 80);
/* oklch */ color: oklch(27.2% 0.116 309.9);
Tailwind
colors: {
  custom: {
    50: '#725182',
    500: '#380d50',
    950: '#000000',
  },
}
SCSS
$custom: #380d50;
$custom-light: #725182;
$custom-dark: #000000;
JSON
{
  "hex": "#380d50",
  "rgb": {
    "r": 56,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 278.507,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27241,
    "c": 0.11596,
    "h": 309.9
  },
  "luminance": 0.01708
}

Semantic roles & 50–950 ramp

primary
#380D50
secondary
#4F8B2E
accent
#EF397A
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380D50

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

Preview Lab → · Contrast checker → · Palette generator →

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