#381C65#381C65

#381C65 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.121 H 296.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#381C65
RGBrgb(56, 28, 101)
HSLhsl(263, 57%, 25%)
HSVhsv(263, 72%, 40%)
CMYKcmyk(44.6%, 72.3%, 0%, 60.4%)
CIE-LABlab(18.41, 31.13, -38.08)
CIE-LCHlch(18.41, 49.19, 309.26°)
OKLaboklab(31.03% 0.0535 -0.1088)
OKLCHoklch(31.03% 0.121 296.2)
XYZxyz(4.3945, 2.6108, 12.5818)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C65 #49651C
analogous
#1C2465 #381C65 #5C1C65
triadic
#381C65 #65381C #1C6538
tetradic
#381C65 #651C24 #49651C #1C655C
square
#381C65 #651C24 #49651C #1C655C
split-complementary
#381C65 #655C1C #24651C
monochromatic
#0D0718 #1D0F35 #381C65 #532995 #6D37C5

Accessibility & contrast

On white

13.80
#381C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381C65
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C65#FFFFFF#000000##FFFFFF
##381C651.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#2C2E3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381c65;
/* rgb */ color: rgb(56, 28, 101);
/* oklch */ color: oklch(31.0% 0.121 296.2);
Tailwind
colors: {
  custom: {
    50: '#735a91',
    500: '#381c65',
    950: '#000000',
  },
}
SCSS
$custom: #381c65;
$custom-light: #735a91;
$custom-dark: #000000;
JSON
{
  "hex": "#381c65",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 263.014,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31032,
    "c": 0.12122,
    "h": 296.2
  },
  "luminance": 0.02611
}

Semantic roles & 50–950 ramp

primary
#381C65
secondary
#799A43
accent
#E048A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381C65

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

Preview Lab → · Contrast checker → · Palette generator →

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