#380F4B#380F4B

#380F4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.108 H 312.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#380F4B
RGBrgb(56, 15, 75)
HSLhsl(281, 67%, 18%)
HSVhsv(281, 80%, 29%)
CMYKcmyk(25.3%, 80%, 0%, 70.6%)
CIE-LABlab(13.77, 30.94, -28.10)
CIE-LCHlch(13.77, 41.79, 317.75°)
OKLaboklab(27.04% 0.0732 -0.0794)
OKLCHoklch(27.04% 0.108 312.7)
XYZxyz(3.0715, 1.6905, 6.8197)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F4B #224B0F
analogous
#1A0F4B #380F4B #4B0F40
triadic
#380F4B #4B380F #0F4B38
tetradic
#380F4B #4B1A0F #224B0F #0F404B
square
#380F4B #4B1A0F #224B0F #0F404B
split-complementary
#380F4B #404B0F #0F4B1A
monochromatic
#13051A #13051A #380F4B #5E197E #8423B1

Accessibility & contrast

On white

15.70
#380F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380F4B
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F4B#FFFFFF#000000##FFFFFF
##380F4B1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#361C2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380f4b;
/* rgb */ color: rgb(56, 15, 75);
/* oklch */ color: oklch(27.0% 0.108 312.7);
Tailwind
colors: {
  custom: {
    50: '#71527e',
    500: '#380f4b',
    950: '#000000',
  },
}
SCSS
$custom: #380f4b;
$custom-light: #71527e;
$custom-dark: #000000;
JSON
{
  "hex": "#380f4b",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 281,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27037,
    "c": 0.10795,
    "h": 312.7
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#380F4B
secondary
#4B8530
accent
#EA3E74
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #380F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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