#380F57#380F57

#380F57 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.121 H 305.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#380F57
RGBrgb(56, 15, 87)
HSLhsl(274, 71%, 20%)
HSVhsv(274, 83%, 34%)
CMYKcmyk(35.6%, 82.8%, 0%, 65.9%)
CIE-LABlab(14.79, 33.96, -34.64)
CIE-LCHlch(14.79, 48.51, 314.43°)
OKLaboklab(28.08% 0.0706 -0.0986)
OKLCHoklch(28.08% 0.121 305.6)
XYZxyz(3.5216, 1.8705, 9.1905)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F57 #2E570F
analogous
#140F57 #380F57 #570F52
triadic
#380F57 #57380F #0F5738
tetradic
#380F57 #57140F #2E570F #0F5257
square
#380F57 #57140F #2E570F #0F5257
split-complementary
#380F57 #52570F #0F5714
monochromatic
#11051A #160623 #380F57 #5A188B #7B21BF

Accessibility & contrast

On white

15.28
#380F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#380F57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F57
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F57#FFFFFF#000000##FFFFFF
##380F571.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#322132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #380f57;
/* rgb */ color: rgb(56, 15, 87);
/* oklch */ color: oklch(28.1% 0.121 305.6);
Tailwind
colors: {
  custom: {
    50: '#725387',
    500: '#380f57',
    950: '#000000',
  },
}
SCSS
$custom: #380f57;
$custom-light: #725387;
$custom-dark: #000000;
JSON
{
  "hex": "#380f57",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 274.167,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.2808,
    "c": 0.12129,
    "h": 305.6
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#380F57
secondary
#5A9131
accent
#ED3A87
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #380F57

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

Preview Lab → · Contrast checker → · Palette generator →

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