#380F4C#380F4C

#380F4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.1% C 0.109 H 312.0°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#380F4C
RGBrgb(56, 15, 76)
HSLhsl(280, 67%, 18%)
HSVhsv(280, 80%, 30%)
CMYKcmyk(26.3%, 80.3%, 0%, 70.2%)
CIE-LABlab(13.85, 31.18, -28.66)
CIE-LCHlch(13.85, 42.35, 317.42°)
OKLaboklab(27.12% 0.073 -0.081)
OKLCHoklch(27.12% 0.109 312)
XYZxyz(3.1060, 1.7043, 7.0014)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4C #234C0F
analogous
#190F4C #380F4C #4C0F41
triadic
#380F4C #4C380F #0F4C38
tetradic
#380F4C #4C190F #234C0F #0F414C
square
#380F4C #4C190F #234C0F #0F414C
split-complementary
#380F4C #414C0F #0F4C19
monochromatic
#13051A #13051A #380F4C #5E197F #8323B2

Accessibility & contrast

On white

15.66
#380F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#380F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F4C
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4C#FFFFFF#000000##FFFFFF
##380F4C1.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#361D2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380f4c;
/* rgb */ color: rgb(56, 15, 76);
/* oklch */ color: oklch(27.1% 0.109 312.0);
Tailwind
colors: {
  custom: {
    50: '#71527e',
    500: '#380f4c',
    950: '#000000',
  },
}
SCSS
$custom: #380f4c;
$custom-light: #71527e;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4c",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 280.328,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2712,
    "c": 0.10906,
    "h": 312
  },
  "luminance": 0.01704
}

Semantic roles & 50–950 ramp

primary
#380F4C
secondary
#4D8631
accent
#EA3E76
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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