#380B50#380B50

#380B50 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.118 H 310.2°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#380B50
RGBrgb(56, 11, 80)
HSLhsl(279, 76%, 18%)
HSVhsv(279, 86%, 31%)
CMYKcmyk(30%, 86.3%, 0%, 68.6%)
CIE-LABlab(13.59, 33.89, -31.84)
CIE-LCHlch(13.59, 46.50, 316.79°)
OKLaboklab(27.04% 0.0763 -0.0903)
OKLCHoklch(27.04% 0.118 310.2)
XYZxyz(3.1982, 1.6594, 7.7397)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B50 #23500B
analogous
#150B50 #380B50 #500B45
triadic
#380B50 #50380B #0B5038
tetradic
#380B50 #50150B #23500B #0B4550
square
#380B50 #50150B #23500B #0B4550
split-complementary
#380B50 #45500B #0B5015
monochromatic
#13041B #13041B #380B50 #5E1286 #831ABC

Accessibility & contrast

On white

15.77
#380B50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380B50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380B50
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B50#FFFFFF#000000##FFFFFF
##380B501.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#351C2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380b50;
/* rgb */ color: rgb(56, 11, 80);
/* oklch */ color: oklch(27.0% 0.118 310.2);
Tailwind
colors: {
  custom: {
    50: '#725082',
    500: '#380b50',
    950: '#000000',
  },
}
SCSS
$custom: #380b50;
$custom-light: #725082;
$custom-dark: #000000;
JSON
{
  "hex": "#380b50",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 80
  },
  "hsl": {
    "h": 279.13,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.11825,
    "h": 310.2
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#380B50
secondary
#4D8C2B
accent
#F23577
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380B50

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

Preview Lab → · Contrast checker → · Palette generator →

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