#380C50#380C50

#380C50 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.117 H 310.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#380C50
RGBrgb(56, 12, 80)
HSLhsl(279, 74%, 18%)
HSVhsv(279, 85%, 31%)
CMYKcmyk(30%, 85%, 0%, 68.6%)
CIE-LABlab(13.73, 33.48, -31.61)
CIE-LCHlch(13.73, 46.05, 316.65°)
OKLaboklab(27.14% 0.0754 -0.0897)
OKLCHoklch(27.14% 0.117 310)
XYZxyz(3.2100, 1.6830, 7.7436)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380C50 #24500C
analogous
#160C50 #380C50 #500C46
triadic
#380C50 #50380C #0C5038
tetradic
#380C50 #50160C #24500C #0C4650
square
#380C50 #50160C #24500C #0C4650
split-complementary
#380C50 #46500C #0C5016
monochromatic
#13041B #13041B #380C50 #5D1485 #831CBA

Accessibility & contrast

On white

15.71
#380C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380C50
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380C50#FFFFFF#000000##FFFFFF
##380C501.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #380c50;
/* rgb */ color: rgb(56, 12, 80);
/* oklch */ color: oklch(27.1% 0.117 310.0);
Tailwind
colors: {
  custom: {
    50: '#725182',
    500: '#380c50',
    950: '#000000',
  },
}
SCSS
$custom: #380c50;
$custom-light: #725182;
$custom-dark: #000000;
JSON
{
  "hex": "#380c50",
  "rgb": {
    "r": 56,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 278.824,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27138,
    "c": 0.11713,
    "h": 310
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#380C50
secondary
#4E8B2C
accent
#F13779
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380C50

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

Preview Lab → · Contrast checker → · Palette generator →

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