#381365#381365

#381365 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.133 H 298.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#381365
RGBrgb(56, 19, 101)
HSLhsl(267, 68%, 24%)
HSVhsv(267, 81%, 40%)
CMYKcmyk(44.6%, 81.2%, 0%, 60.4%)
CIE-LABlab(16.73, 35.87, -40.83)
CIE-LCHlch(16.73, 54.35, 311.30°)
OKLaboklab(29.84% 0.0629 -0.1168)
OKLCHoklch(29.84% 0.133 298.3)
XYZxyz(4.2121, 2.2460, 12.5210)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381365 #406513
analogous
#131765 #381365 #611365
triadic
#381365 #653813 #136538
tetradic
#381365 #651317 #406513 #136561
square
#381365 #651317 #406513 #136561
split-complementary
#381365 #656113 #176513
monochromatic
#0E051A #1B0931 #381365 #551D99 #7126CC

Accessibility & contrast

On white

14.49
#381365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#381365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381365
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381365#FFFFFF#000000##FFFFFF
##3813651.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#2D293B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381365;
/* rgb */ color: rgb(56, 19, 101);
/* oklch */ color: oklch(29.8% 0.133 298.3);
Tailwind
colors: {
  custom: {
    50: '#745592',
    500: '#381365',
    950: '#000000',
  },
}
SCSS
$custom: #381365;
$custom-light: #745592;
$custom-dark: #000000;
JSON
{
  "hex": "#381365",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 267.073,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29839,
    "c": 0.13265,
    "h": 298.3
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#381365
secondary
#6F9D37
accent
#EB3D9C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381365

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

Preview Lab → · Contrast checker → · Palette generator →

#381365 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva