#381D61#381D61

#381D61 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.115 H 297.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#381D61
RGBrgb(56, 29, 97)
HSLhsl(264, 54%, 25%)
HSVhsv(264, 70%, 38%)
CMYKcmyk(42.3%, 70.1%, 0%, 62%)
CIE-LABlab(18.29, 29.36, -35.65)
CIE-LCHlch(18.29, 46.18, 309.48°)
OKLaboklab(30.84% 0.0529 -0.1016)
OKLCHoklch(30.84% 0.115 297.5)
XYZxyz(4.2274, 2.5825, 11.5827)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381D61 #46611D
analogous
#1D2461 #381D61 #5A1D61
triadic
#381D61 #61381D #1D6138
tetradic
#381D61 #611D24 #46611D #1D615A
square
#381D61 #611D24 #46611D #1D615A
split-complementary
#381D61 #615A1D #24611D
monochromatic
#0E0718 #1D0F32 #381D61 #532B90 #6E39BF

Accessibility & contrast

On white

13.85
#381D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#381D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381D61
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381D61#FFFFFF#000000##FFFFFF
##381D611.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#2E2D3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381d61;
/* rgb */ color: rgb(56, 29, 97);
/* oklch */ color: oklch(30.8% 0.115 297.5);
Tailwind
colors: {
  custom: {
    50: '#735b8e',
    500: '#381d61',
    950: '#000000',
  },
}
SCSS
$custom: #381d61;
$custom-light: #735b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#381d61",
  "rgb": {
    "r": 56,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 263.824,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30836,
    "c": 0.11457,
    "h": 297.5
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#381D61
secondary
#759644
accent
#DD4AA3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #381D61

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

Preview Lab → · Contrast checker → · Palette generator →

#381D61 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva