#381959#381959

#381959 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.5% C 0.110 H 302.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#381959
RGBrgb(56, 25, 89)
HSLhsl(269, 56%, 22%)
HSVhsv(269, 72%, 35%)
CMYKcmyk(37.1%, 71.9%, 0%, 65.1%)
CIE-LABlab(16.78, 29.38, -32.76)
CIE-LCHlch(16.78, 44.00, 311.89°)
OKLaboklab(29.55% 0.0589 -0.0931)
OKLCHoklch(29.55% 0.11 302.3)
XYZxyz(3.7813, 2.2573, 9.6857)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381959 #3A5919
analogous
#191A59 #381959 #581959
triadic
#381959 #593819 #195938
tetradic
#381959 #59191A #3A5919 #195958
square
#381959 #59191A #3A5919 #195958
split-complementary
#381959 #595819 #1A5919
monochromatic
#0F0718 #1A0C29 #381959 #562689 #7434B9

Accessibility & contrast

On white

14.47
#381959 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#381959 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381959
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381959#FFFFFF#000000##FFFFFF
##3819591.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#312736
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381959;
/* rgb */ color: rgb(56, 25, 89);
/* oklch */ color: oklch(29.5% 0.110 302.3);
Tailwind
colors: {
  custom: {
    50: '#725888',
    500: '#381959',
    950: '#000000',
  },
}
SCSS
$custom: #381959;
$custom-light: #725888;
$custom-dark: #000000;
JSON
{
  "hex": "#381959",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 89
  },
  "hsl": {
    "h": 269.063,
    "s": 56.14,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29547,
    "c": 0.11019,
    "h": 302.3
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#381959
secondary
#688F3E
accent
#DF4896
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381959

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

Preview Lab → · Contrast checker → · Palette generator →

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