#380F76#380F76

#380F76 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.2% C 0.156 H 292.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#380F76
RGBrgb(56, 15, 118)
HSLhsl(264, 77%, 26%)
HSVhsv(264, 87%, 46%)
CMYKcmyk(52.5%, 87.3%, 0%, 53.7%)
CIE-LABlab(17.87, 42.22, -50.02)
CIE-LCHlch(17.87, 65.46, 310.16°)
OKLaboklab(31.16% 0.0599 -0.1437)
OKLCHoklch(31.16% 0.156 292.6)
XYZxyz(5.0708, 2.4902, 17.3495)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F76 #4D760F
analogous
#0F1A76 #380F76 #6B0F76
triadic
#380F76 #76380F #0F7638
tetradic
#380F76 #760F1A #4D760F #0F766B
square
#380F76 #760F1A #4D760F #0F766B
split-complementary
#380F76 #766B0F #1A760F
monochromatic
#0D031B #1E0840 #380F76 #5216AC #6C1DE2

Accessibility & contrast

On white

14.02
#380F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#380F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F76
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F76#FFFFFF#000000##FFFFFF
##380F761.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#232F44
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #380f76;
/* rgb */ color: rgb(56, 15, 118);
/* oklch */ color: oklch(31.2% 0.156 292.6);
Tailwind
colors: {
  custom: {
    50: '#77559f',
    500: '#380f76',
    950: '#000000',
  },
}
SCSS
$custom: #380f76;
$custom-light: #77559f;
$custom-dark: #000000;
JSON
{
  "hex": "#380f76",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 263.883,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31158,
    "c": 0.15571,
    "h": 292.6
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#380F76
secondary
#7DAD33
accent
#F434A7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #380F76

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

Preview Lab → · Contrast checker → · Palette generator →

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