#381659#381659

#381659 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.115 H 303.1°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#381659
RGBrgb(56, 22, 89)
HSLhsl(270, 60%, 22%)
HSVhsv(270, 75%, 35%)
CMYKcmyk(37.1%, 75.3%, 0%, 65.1%)
CIE-LABlab(16.18, 31.04, -33.73)
CIE-LCHlch(16.18, 45.84, 312.63°)
OKLaboklab(29.12% 0.0626 -0.096)
OKLCHoklch(29.12% 0.115 303.1)
XYZxyz(3.7205, 2.1358, 9.6655)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381659 #375916
analogous
#171659 #381659 #591659
triadic
#381659 #593816 #165938
tetradic
#381659 #591716 #375916 #165959
square
#381659 #591716 #375916 #165959
split-complementary
#381659 #595916 #165917
monochromatic
#0F0619 #190A28 #381659 #57228A #762EBB

Accessibility & contrast

On white

14.71
#381659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#381659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381659
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381659#FFFFFF#000000##FFFFFF
##3816591.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002858
Tritanopia (blue-blind)
#312635
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #381659;
/* rgb */ color: rgb(56, 22, 89);
/* oklch */ color: oklch(29.1% 0.115 303.1);
Tailwind
colors: {
  custom: {
    50: '#725688',
    500: '#381659',
    950: '#000000',
  },
}
SCSS
$custom: #381659;
$custom-light: #725688;
$custom-dark: #000000;
JSON
{
  "hex": "#381659",
  "rgb": {
    "r": 56,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 270.448,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29119,
    "c": 0.11456,
    "h": 303.1
  },
  "luminance": 0.02136
}

Semantic roles & 50–950 ramp

primary
#381659
secondary
#65903B
accent
#E44493
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381659

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

Preview Lab → · Contrast checker → · Palette generator →

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