#381759#381759

#381759 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.113 H 302.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#381759
RGBrgb(56, 23, 89)
HSLhsl(270, 59%, 22%)
HSVhsv(270, 74%, 35%)
CMYKcmyk(37.1%, 74.2%, 0%, 65.1%)
CIE-LABlab(16.38, 30.50, -33.41)
CIE-LCHlch(16.38, 45.24, 312.39°)
OKLaboklab(29.26% 0.0614 -0.095)
OKLCHoklch(29.26% 0.113 302.8)
XYZxyz(3.7400, 2.1748, 9.6720)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381759 #385917
analogous
#171759 #381759 #591759
triadic
#381759 #593817 #175938
tetradic
#381759 #591717 #385917 #175959
square
#381759 #591717 #385917 #175959
split-complementary
#381759 #595917 #175917
monochromatic
#0F0618 #190A28 #381759 #57248A #7530BA

Accessibility & contrast

On white

14.63
#381759 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#381759 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381759
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381759#FFFFFF#000000##FFFFFF
##3817591.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#312636
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381759;
/* rgb */ color: rgb(56, 23, 89);
/* oklch */ color: oklch(29.3% 0.113 302.8);
Tailwind
colors: {
  custom: {
    50: '#725788',
    500: '#381759',
    950: '#000000',
  },
}
SCSS
$custom: #381759;
$custom-light: #725788;
$custom-dark: #000000;
JSON
{
  "hex": "#381759",
  "rgb": {
    "r": 56,
    "g": 23,
    "b": 89
  },
  "hsl": {
    "h": 270,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.11314,
    "h": 302.8
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#381759
secondary
#66903C
accent
#E24694
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381759

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

Preview Lab → · Contrast checker → · Palette generator →

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