#381E61#381E61

#381E61 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 31.0% C 0.113 H 297.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#381E61
RGBrgb(56, 30, 97)
HSLhsl(263, 53%, 25%)
HSVhsv(263, 69%, 38%)
CMYKcmyk(42.3%, 69.1%, 0%, 62%)
CIE-LABlab(18.51, 28.76, -35.29)
CIE-LCHlch(18.51, 45.53, 309.18°)
OKLaboklab(30.99% 0.0516 -0.1006)
OKLCHoklch(30.99% 0.113 297.2)
XYZxyz(4.2523, 2.6323, 11.5910)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381E61 #47611E
analogous
#1E2561 #381E61 #5A1E61
triadic
#381E61 #61381E #1E6138
tetradic
#381E61 #611E25 #47611E #1E615A
square
#381E61 #611E25 #47611E #1E615A
split-complementary
#381E61 #615A1E #25611E
monochromatic
#0D0717 #1D1032 #381E61 #532C90 #6E3BBE

Accessibility & contrast

On white

13.76
#381E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#381E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381E61
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381E61#FFFFFF#000000##FFFFFF
##381E611.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.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: #381e61;
/* rgb */ color: rgb(56, 30, 97);
/* oklch */ color: oklch(31.0% 0.113 297.2);
Tailwind
colors: {
  custom: {
    50: '#725b8e',
    500: '#381e61',
    950: '#000000',
  },
}
SCSS
$custom: #381e61;
$custom-light: #725b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#381e61",
  "rgb": {
    "r": 56,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 263.284,
    "s": 52.756,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.11308,
    "h": 297.2
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#381E61
secondary
#769645
accent
#DC4CA4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #381E61

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

Preview Lab → · Contrast checker → · Palette generator →

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