#381C67#381C67

#381C67 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.2% C 0.124 H 295.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#381C67
RGBrgb(56, 28, 103)
HSLhsl(262, 57%, 26%)
HSVhsv(262, 73%, 40%)
CMYKcmyk(45.6%, 72.8%, 0%, 59.6%)
CIE-LABlab(18.59, 31.72, -39.11)
CIE-LCHlch(18.59, 50.36, 309.04°)
OKLaboklab(31.21% 0.0531 -0.1118)
OKLCHoklch(31.21% 0.124 295.4)
XYZxyz(4.4937, 2.6504, 13.1042)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381C67 #4B671C
analogous
#1C2567 #381C67 #5D1C67
triadic
#381C67 #67381C #1C6738
tetradic
#381C67 #671C25 #4B671C #1C675D
square
#381C67 #671C25 #4B671C #1C675D
split-complementary
#381C67 #675D1C #25671C
monochromatic
#0D0718 #1E0F37 #381C67 #522997 #6C36C7

Accessibility & contrast

On white

13.72
#381C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381C67
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381C67#FFFFFF#000000##FFFFFF
##381C671.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#2B2E3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #381c67;
/* rgb */ color: rgb(56, 28, 103);
/* oklch */ color: oklch(31.2% 0.124 295.4);
Tailwind
colors: {
  custom: {
    50: '#735a93',
    500: '#381c67',
    950: '#000000',
  },
}
SCSS
$custom: #381c67;
$custom-light: #735a93;
$custom-dark: #000000;
JSON
{
  "hex": "#381c67",
  "rgb": {
    "r": 56,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 262.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.3121,
    "c": 0.1238,
    "h": 295.4
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#381C67
secondary
#7B9C43
accent
#E147A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381C67

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

Preview Lab → · Contrast checker → · Palette generator →

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