#380F5D#380F5D

#380F5D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.128 H 302.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#380F5D
RGBrgb(56, 15, 93)
HSLhsl(272, 72%, 21%)
HSVhsv(272, 84%, 36%)
CMYKcmyk(39.8%, 83.9%, 0%, 63.5%)
CIE-LABlab(15.34, 35.52, -37.78)
CIE-LCHlch(15.34, 51.86, 313.24°)
OKLaboklab(28.64% 0.0689 -0.1078)
OKLCHoklch(28.64% 0.128 302.6)
XYZxyz(3.7770, 1.9727, 10.5356)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F5D #345D0F
analogous
#110F5D #380F5D #5D0F5B
triadic
#380F5D #5D380F #0F5D38
tetradic
#380F5D #5D110F #345D0F #0F5B5D
square
#380F5D #5D110F #345D0F #0F5B5D
split-complementary
#380F5D #5B5D0F #0F5D11
monochromatic
#10041A #180628 #380F5D #581792 #7720C6

Accessibility & contrast

On white

15.06
#380F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#380F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F5D
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F5D#FFFFFF#000000##FFFFFF
##380F5D1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#302436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380f5d;
/* rgb */ color: rgb(56, 15, 93);
/* oklch */ color: oklch(28.6% 0.128 302.6);
Tailwind
colors: {
  custom: {
    50: '#73538c',
    500: '#380f5d',
    950: '#000000',
  },
}
SCSS
$custom: #380f5d;
$custom-light: #73538c;
$custom-dark: #000000;
JSON
{
  "hex": "#380f5d",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 271.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28637,
    "c": 0.12798,
    "h": 302.6
  },
  "luminance": 0.01973
}

Semantic roles & 50–950 ramp

primary
#380F5D
secondary
#619631
accent
#EF398F
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #380F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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