#380F49#380F49

#380F49 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.106 H 314.0°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#380F49
RGBrgb(56, 15, 73)
HSLhsl(282, 66%, 17%)
HSVhsv(282, 79%, 29%)
CMYKcmyk(23.3%, 79.5%, 0%, 71.4%)
CIE-LABlab(13.61, 30.45, -26.97)
CIE-LCHlch(13.61, 40.68, 318.47°)
OKLaboklab(26.87% 0.0735 -0.0761)
OKLCHoklch(26.87% 0.106 314)
XYZxyz(3.0041, 1.6635, 6.4649)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380F49 #20490F
analogous
#1B0F49 #380F49 #490F3D
triadic
#380F49 #49380F #0F4938
tetradic
#380F49 #491B0F #20490F #0F3D49
square
#380F49 #491B0F #20490F #0F3D49
split-complementary
#380F49 #3D490F #0F491B
monochromatic
#130519 #130519 #380F49 #5F197C #8624AF

Accessibility & contrast

On white

15.76
#380F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#380F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380F49
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380F49#FFFFFF#000000##FFFFFF
##380F491.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214B
Deuteranopia (green-blind)
#0B2448
Tritanopia (blue-blind)
#361B2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #380f49;
/* rgb */ color: rgb(56, 15, 73);
/* oklch */ color: oklch(26.9% 0.106 314.0);
Tailwind
colors: {
  custom: {
    50: '#71527c',
    500: '#380f49',
    950: '#000000',
  },
}
SCSS
$custom: #380f49;
$custom-light: #71527c;
$custom-dark: #000000;
JSON
{
  "hex": "#380f49",
  "rgb": {
    "r": 56,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 282.414,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26874,
    "c": 0.10574,
    "h": 314
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#380F49
secondary
#498330
accent
#E93F71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380F49

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

Preview Lab → · Contrast checker → · Palette generator →

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