#380E49#380E49

#380E49 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.107 H 314.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#380E49
RGBrgb(56, 14, 73)
HSLhsl(283, 68%, 17%)
HSVhsv(283, 81%, 29%)
CMYKcmyk(23.3%, 80.8%, 0%, 71.4%)
CIE-LABlab(13.45, 30.91, -27.23)
CIE-LCHlch(13.45, 41.20, 318.62°)
OKLaboklab(26.76% 0.0746 -0.0768)
OKLCHoklch(26.76% 0.107 314.2)
XYZxyz(2.9903, 1.6360, 6.4603)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380E49 #1F490E
analogous
#1B0E49 #380E49 #490E3D
triadic
#380E49 #49380E #0E4938
tetradic
#380E49 #491B0E #1F490E #0E3D49
square
#380E49 #491B0E #1F490E #0E3D49
split-complementary
#380E49 #3D490E #0E491B
monochromatic
#14051A #14051A #380E49 #5F187C #8722B0

Accessibility & contrast

On white

15.82
#380E49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380E49
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380E49#FFFFFF#000000##FFFFFF
##380E491.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204B
Deuteranopia (green-blind)
#0A2348
Tritanopia (blue-blind)
#361B2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #380e49;
/* rgb */ color: rgb(56, 14, 73);
/* oklch */ color: oklch(26.8% 0.107 314.2);
Tailwind
colors: {
  custom: {
    50: '#71517c',
    500: '#380e49',
    950: '#000000',
  },
}
SCSS
$custom: #380e49;
$custom-light: #71517c;
$custom-dark: #000000;
JSON
{
  "hex": "#380e49",
  "rgb": {
    "r": 56,
    "g": 14,
    "b": 73
  },
  "hsl": {
    "h": 282.712,
    "s": 67.816,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26757,
    "c": 0.1071,
    "h": 314.2
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#380E49
secondary
#47842F
accent
#EB3D6F
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #380E49

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

Preview Lab → · Contrast checker → · Palette generator →

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