#381F65#381F65

#381F65 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.5% C 0.117 H 295.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#381F65
RGBrgb(56, 31, 101)
HSLhsl(261, 53%, 26%)
HSVhsv(261, 69%, 40%)
CMYKcmyk(44.6%, 69.3%, 0%, 60.4%)
CIE-LABlab(19.06, 29.36, -37.04)
CIE-LCHlch(19.06, 47.26, 308.41°)
OKLaboklab(31.5% 0.0499 -0.1057)
OKLCHoklch(31.5% 0.117 295.3)
XYZxyz(4.4692, 2.7602, 12.6067)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381F65 #4C651F
analogous
#1F2965 #381F65 #5B1F65
triadic
#381F65 #65381F #1F6538
tetradic
#381F65 #651F29 #4C651F #1F655B
square
#381F65 #651F29 #4C651F #1F655B
split-complementary
#381F65 #655B1F #29651F
monochromatic
#0D0717 #1E1136 #381F65 #522D94 #6C3CC3

Accessibility & contrast

On white

13.53
#381F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#381F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381F65
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381F65#FFFFFF#000000##FFFFFF
##381F651.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#2C2F3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #381f65;
/* rgb */ color: rgb(56, 31, 101);
/* oklch */ color: oklch(31.5% 0.117 295.3);
Tailwind
colors: {
  custom: {
    50: '#735c91',
    500: '#381f65',
    950: '#000000',
  },
}
SCSS
$custom: #381f65;
$custom-light: #735c91;
$custom-dark: #000000;
JSON
{
  "hex": "#381f65",
  "rgb": {
    "r": 56,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 261.429,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31495,
    "c": 0.11692,
    "h": 295.3
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#381F65
secondary
#7C9946
accent
#DC4BA9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381F65

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

Preview Lab → · Contrast checker → · Palette generator →

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