#380B4F#380B4F

#380B4F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 27.0% C 0.117 H 310.8°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#380B4F
RGBrgb(56, 11, 79)
HSLhsl(280, 76%, 18%)
HSVhsv(280, 86%, 31%)
CMYKcmyk(29.1%, 86.1%, 0%, 69%)
CIE-LABlab(13.50, 33.65, -31.29)
CIE-LCHlch(13.50, 45.95, 317.08°)
OKLaboklab(26.95% 0.0766 -0.0887)
OKLCHoklch(26.95% 0.117 310.8)
XYZxyz(3.1616, 1.6447, 7.5465)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380B4F #224F0B
analogous
#160B4F #380B4F #4F0B44
triadic
#380B4F #4F380B #0B4F38
tetradic
#380B4F #4F160B #224F0B #0B444F
square
#380B4F #4F160B #224F0B #0B444F
split-complementary
#380B4F #444F0B #0B4F16
monochromatic
#13041B #13041B #380B4F #5E1285 #841ABA

Accessibility & contrast

On white

15.80
#380B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380B4F
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380B4F#FFFFFF#000000##FFFFFF
##380B4F1.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#351C2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380b4f;
/* rgb */ color: rgb(56, 11, 79);
/* oklch */ color: oklch(27.0% 0.117 310.8);
Tailwind
colors: {
  custom: {
    50: '#725081',
    500: '#380b4f',
    950: '#000000',
  },
}
SCSS
$custom: #380b4f;
$custom-light: #725081;
$custom-dark: #000000;
JSON
{
  "hex": "#380b4f",
  "rgb": {
    "r": 56,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 279.706,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26951,
    "c": 0.11719,
    "h": 310.8
  },
  "luminance": 0.01645
}

Semantic roles & 50–950 ramp

primary
#380B4F
secondary
#4B8B2B
accent
#F23675
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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