#381B67#381B67

#381B67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.125 H 295.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#381B67
RGBrgb(56, 27, 103)
HSLhsl(263, 58%, 25%)
HSVhsv(263, 74%, 40%)
CMYKcmyk(45.6%, 73.8%, 0%, 59.6%)
CIE-LABlab(18.38, 32.29, -39.45)
CIE-LCHlch(18.38, 50.98, 309.30°)
OKLaboklab(31.06% 0.0542 -0.1128)
OKLCHoklch(31.06% 0.125 295.7)
XYZxyz(4.4704, 2.6038, 13.0964)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381B67 #4A671B
analogous
#1B2467 #381B67 #5E1B67
triadic
#381B67 #67381B #1B6738
tetradic
#381B67 #671B24 #4A671B #1B675E
square
#381B67 #671B24 #4A671B #1B675E
split-complementary
#381B67 #675E1B #24671B
monochromatic
#0D0618 #1E0E37 #381B67 #522897 #6D34C8

Accessibility & contrast

On white

13.81
#381B67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381B67
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381B67#FFFFFF#000000##FFFFFF
##381B671.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381b67;
/* rgb */ color: rgb(56, 27, 103);
/* oklch */ color: oklch(31.1% 0.125 295.7);
Tailwind
colors: {
  custom: {
    50: '#735a93',
    500: '#381b67',
    950: '#000000',
  },
}
SCSS
$custom: #381b67;
$custom-light: #735a93;
$custom-dark: #000000;
JSON
{
  "hex": "#381b67",
  "rgb": {
    "r": 56,
    "g": 27,
    "b": 103
  },
  "hsl": {
    "h": 262.895,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31064,
    "c": 0.12516,
    "h": 295.7
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#381B67
secondary
#7A9C42
accent
#E246A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381B67

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

Preview Lab → · Contrast checker → · Palette generator →

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