#380346#380346

#380346 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.4% C 0.118 H 317.6°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#380346
RGBrgb(56, 3, 70)
HSLhsl(287, 92%, 14%)
HSVhsv(287, 96%, 27%)
CMYKcmyk(20%, 95.7%, 0%, 72.5%)
CIE-LABlab(11.61, 34.84, -28.11)
CIE-LCHlch(11.61, 44.77, 321.10°)
OKLaboklab(25.39% 0.0869 -0.0793)
OKLCHoklch(25.39% 0.118 317.6)
XYZxyz(2.7688, 1.3482, 5.9075)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380346 #114603
analogous
#170346 #380346 #460333
triadic
#380346 #463803 #034638
tetradic
#380346 #461703 #114603 #033346
square
#380346 #461703 #114603 #033346
split-complementary
#380346 #334603 #034617
monochromatic
#17011D #17011D #380346 #670681 #9608BB

Accessibility & contrast

On white

16.54
#380346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#380346 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #380346
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380346#FFFFFF#000000##FFFFFF
##3803461.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C48
Deuteranopia (green-blind)
#042045
Tritanopia (blue-blind)
#371426
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380346;
/* rgb */ color: rgb(56, 3, 70);
/* oklch */ color: oklch(25.4% 0.118 317.6);
Tailwind
colors: {
  custom: {
    50: '#724c7a',
    500: '#380346',
    950: '#000000',
  },
}
SCSS
$custom: #380346;
$custom-light: #724c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#380346",
  "rgb": {
    "r": 56,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 287.463,
    "s": 91.781,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25385,
    "c": 0.11765,
    "h": 317.6
  },
  "luminance": 0.01348
}

Semantic roles & 50–950 ramp

primary
#380346
secondary
#34871D
accent
#FF2956
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080109
muted
#7B777B

Preview Lab

Preview with #380346

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

Preview Lab → · Contrast checker → · Palette generator →

#380346 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva