#380F5C#380F5C

#380F5C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.127 H 303.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#380F5C
RGBrgb(56, 15, 92)
HSLhsl(272, 72%, 21%)
HSVhsv(272, 84%, 36%)
CMYKcmyk(39.1%, 83.7%, 0%, 63.9%)
CIE-LABlab(15.25, 35.26, -37.26)
CIE-LCHlch(15.25, 51.30, 313.42°)
OKLaboklab(28.54% 0.0692 -0.1063)
OKLCHoklch(28.54% 0.127 303.1)
XYZxyz(3.7330, 1.9551, 10.3038)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F5C #335C0F
analogous
#110F5C #380F5C #5C0F59
triadic
#380F5C #5C380F #0F5C38
tetradic
#380F5C #5C110F #335C0F #0F595C
square
#380F5C #5C110F #335C0F #0F595C
split-complementary
#380F5C #595C0F #0F5C11
monochromatic
#10041A #180627 #380F5C #581891 #7820C5

Accessibility & contrast

On white

15.10
#380F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F5C
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F5C#FFFFFF#000000##FFFFFF
##380F5C1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#312335
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #380f5c;
/* rgb */ color: rgb(56, 15, 92);
/* oklch */ color: oklch(28.5% 0.127 303.1);
Tailwind
colors: {
  custom: {
    50: '#73538b',
    500: '#380f5c',
    950: '#000000',
  },
}
SCSS
$custom: #380f5c;
$custom-light: #73538b;
$custom-dark: #000000;
JSON
{
  "hex": "#380f5c",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 271.948,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28542,
    "c": 0.12686,
    "h": 303.1
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#380F5C
secondary
#609531
accent
#EF398E
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #380F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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