#381A65#381A65

#381A65 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.124 H 296.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#381A65
RGBrgb(56, 26, 101)
HSLhsl(264, 59%, 25%)
HSVhsv(264, 74%, 40%)
CMYKcmyk(44.6%, 74.3%, 0%, 60.4%)
CIE-LABlab(18.00, 32.26, -38.75)
CIE-LCHlch(18.00, 50.42, 309.78°)
OKLaboklab(30.74% 0.0557 -0.1107)
OKLCHoklch(30.74% 0.124 296.7)
XYZxyz(4.3486, 2.5190, 12.5665)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381A65 #47651A
analogous
#1A2265 #381A65 #5E1A65
triadic
#381A65 #65381A #1A6538
tetradic
#381A65 #651A22 #47651A #1A655E
square
#381A65 #651A22 #47651A #1A655E
split-complementary
#381A65 #655E1A #22651A
monochromatic
#0D0618 #1D0D34 #381A65 #532796 #6E33C6

Accessibility & contrast

On white

13.96
#381A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381A65
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381A65#FFFFFF#000000##FFFFFF
##381A651.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381a65;
/* rgb */ color: rgb(56, 26, 101);
/* oklch */ color: oklch(30.7% 0.124 296.7);
Tailwind
colors: {
  custom: {
    50: '#735992',
    500: '#381a65',
    950: '#000000',
  },
}
SCSS
$custom: #381a65;
$custom-light: #735992;
$custom-dark: #000000;
JSON
{
  "hex": "#381a65",
  "rgb": {
    "r": 56,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 264,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3074,
    "c": 0.12397,
    "h": 296.7
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#381A65
secondary
#769B40
accent
#E246A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #381A65

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

Preview Lab → · Contrast checker → · Palette generator →

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