#380F59#380F59

#380F59 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.124 H 304.6°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#380F59
RGBrgb(56, 15, 89)
HSLhsl(273, 71%, 20%)
HSVhsv(273, 83%, 35%)
CMYKcmyk(37.1%, 83.1%, 0%, 65.1%)
CIE-LABlab(14.97, 34.48, -35.70)
CIE-LCHlch(14.97, 49.63, 314.01°)
OKLaboklab(28.26% 0.0701 -0.1017)
OKLCHoklch(28.26% 0.124 304.6)
XYZxyz(3.6045, 1.9037, 9.6268)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F59 #30590F
analogous
#130F59 #380F59 #590F55
triadic
#380F59 #59380F #0F5938
tetradic
#380F59 #59130F #30590F #0F5559
square
#380F59 #59130F #30590F #0F5559
split-complementary
#380F59 #55590F #0F5913
monochromatic
#10041A #170625 #380F59 #59188D #7A21C2

Accessibility & contrast

On white

15.21
#380F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#380F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F59
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F59#FFFFFF#000000##FFFFFF
##380F591.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#322234
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380f59;
/* rgb */ color: rgb(56, 15, 89);
/* oklch */ color: oklch(28.3% 0.124 304.6);
Tailwind
colors: {
  custom: {
    50: '#735389',
    500: '#380f59',
    950: '#000000',
  },
}
SCSS
$custom: #380f59;
$custom-light: #735389;
$custom-dark: #000000;
JSON
{
  "hex": "#380f59",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 89
  },
  "hsl": {
    "h": 273.243,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28263,
    "c": 0.12351,
    "h": 304.6
  },
  "luminance": 0.01904
}

Semantic roles & 50–950 ramp

primary
#380F59
secondary
#5D9331
accent
#EE3A8A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380F59

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

Preview Lab → · Contrast checker → · Palette generator →

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