#381B65#381B65

#381B65 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.123 H 296.4°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#381B65
RGBrgb(56, 27, 101)
HSLhsl(264, 58%, 25%)
HSVhsv(264, 73%, 40%)
CMYKcmyk(44.6%, 73.3%, 0%, 60.4%)
CIE-LABlab(18.21, 31.70, -38.42)
CIE-LCHlch(18.21, 49.81, 309.53°)
OKLaboklab(30.88% 0.0546 -0.1098)
OKLCHoklch(30.88% 0.123 296.4)
XYZxyz(4.3712, 2.5641, 12.5740)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381B65 #48651B
analogous
#1B2365 #381B65 #5D1B65
triadic
#381B65 #65381B #1B6538
tetradic
#381B65 #651B23 #48651B #1B655D
square
#381B65 #651B23 #48651B #1B655D
split-complementary
#381B65 #655D1B #23651B
monochromatic
#0D0618 #1D0E35 #381B65 #532895 #6E35C6

Accessibility & contrast

On white

13.88
#381B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#381B65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381B65
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381B65#FFFFFF#000000##FFFFFF
##381B651.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#2C2D3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #381b65;
/* rgb */ color: rgb(56, 27, 101);
/* oklch */ color: oklch(30.9% 0.123 296.4);
Tailwind
colors: {
  custom: {
    50: '#735a92',
    500: '#381b65',
    950: '#000000',
  },
}
SCSS
$custom: #381b65;
$custom-light: #735a92;
$custom-dark: #000000;
JSON
{
  "hex": "#381b65",
  "rgb": {
    "r": 56,
    "g": 27,
    "b": 101
  },
  "hsl": {
    "h": 263.514,
    "s": 57.813,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30884,
    "c": 0.12261,
    "h": 296.4
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#381B65
secondary
#789A41
accent
#E147A5
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381B65

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

Preview Lab → · Contrast checker → · Palette generator →

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