#381364#381364

#381364 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 298.7°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#381364
RGBrgb(56, 19, 100)
HSLhsl(267, 68%, 23%)
HSVhsv(267, 81%, 39%)
CMYKcmyk(44%, 81%, 0%, 60.8%)
CIE-LABlab(16.63, 35.59, -40.32)
CIE-LCHlch(16.63, 53.78, 311.43°)
OKLaboklab(29.74% 0.0632 -0.1153)
OKLCHoklch(29.74% 0.131 298.7)
XYZxyz(4.1634, 2.2265, 12.2645)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381364 #3F6413
analogous
#131764 #381364 #601364
triadic
#381364 #643813 #136438
tetradic
#381364 #641317 #3F6413 #136460
square
#381364 #641317 #3F6413 #136460
split-complementary
#381364 #646013 #176413
monochromatic
#0E051A #1B0931 #381364 #551D97 #7227CB

Accessibility & contrast

On white

14.53
#381364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381364
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381364#FFFFFF#000000##FFFFFF
##3813641.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381364;
/* rgb */ color: rgb(56, 19, 100);
/* oklch */ color: oklch(29.7% 0.131 298.7);
Tailwind
colors: {
  custom: {
    50: '#745591',
    500: '#381364',
    950: '#000000',
  },
}
SCSS
$custom: #381364;
$custom-light: #745591;
$custom-dark: #000000;
JSON
{
  "hex": "#381364",
  "rgb": {
    "r": 56,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 267.407,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.13149,
    "h": 298.7
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#381364
secondary
#6E9C37
accent
#EB3D9B
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381364

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

Preview Lab → · Contrast checker → · Palette generator →

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