#380741#380741

#380741 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.108 H 320.8°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#380741
RGBrgb(56, 7, 65)
HSLhsl(291, 81%, 14%)
HSVhsv(291, 89%, 25%)
CMYKcmyk(13.8%, 89.2%, 0%, 74.5%)
CIE-LABlab(11.79, 32.05, -24.30)
CIE-LCHlch(11.79, 40.22, 322.83°)
OKLaboklab(25.38% 0.0835 -0.0682)
OKLCHoklch(25.38% 0.108 320.8)
XYZxyz(2.6609, 1.3745, 5.1252)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#380741 #104107
analogous
#1B0741 #380741 #41072D
triadic
#380741 #413807 #074138
tetradic
#380741 #411B07 #104107 #072D41
square
#380741 #411B07 #104107 #072D41
split-complementary
#380741 #2D4107 #07411B
monochromatic
#18031C #18031C #380741 #680D78 #9713B0

Accessibility & contrast

On white

16.47
#380741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #380741
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##380741#FFFFFF#000000##FFFFFF
##3807411.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#381324
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #380741;
/* rgb */ color: rgb(56, 7, 65);
/* oklch */ color: oklch(25.4% 0.108 320.8);
Tailwind
colors: {
  custom: {
    50: '#714e76',
    500: '#380741',
    950: '#000000',
  },
}
SCSS
$custom: #380741;
$custom-light: #714e76;
$custom-dark: #000000;
JSON
{
  "hex": "#380741",
  "rgb": {
    "r": 56,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 290.69,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25381,
    "c": 0.10776,
    "h": 320.8
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#380741
secondary
#328024
accent
#F73150
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #380741

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

Preview Lab → · Contrast checker → · Palette generator →

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