#381964#381964

#381964 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.124 H 297.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#381964
RGBrgb(56, 25, 100)
HSLhsl(265, 60%, 25%)
HSVhsv(265, 75%, 39%)
CMYKcmyk(44%, 75%, 0%, 60.8%)
CIE-LABlab(17.72, 32.52, -38.55)
CIE-LCHlch(17.72, 50.44, 310.15°)
OKLaboklab(30.51% 0.057 -0.1102)
OKLCHoklch(30.51% 0.124 297.4)
XYZxyz(4.2782, 2.4560, 12.3028)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381964 #456419
analogous
#192064 #381964 #5E1964
triadic
#381964 #643819 #196438
tetradic
#381964 #641920 #456419 #19645E
square
#381964 #641920 #456419 #19645E
split-complementary
#381964 #645E19 #206419
monochromatic
#0E0618 #1D0D33 #381964 #532595 #6F31C6

Accessibility & contrast

On white

14.08
#381964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#381964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381964
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381964#FFFFFF#000000##FFFFFF
##3819641.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#2D2C3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #381964;
/* rgb */ color: rgb(56, 25, 100);
/* oklch */ color: oklch(30.5% 0.124 297.4);
Tailwind
colors: {
  custom: {
    50: '#735991',
    500: '#381964',
    950: '#000000',
  },
}
SCSS
$custom: #381964;
$custom-light: #735991;
$custom-dark: #000000;
JSON
{
  "hex": "#381964",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 264.8,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30509,
    "c": 0.12405,
    "h": 297.4
  },
  "luminance": 0.02456
}

Semantic roles & 50–950 ramp

primary
#381964
secondary
#749A3F
accent
#E345A2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #381964

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

Preview Lab → · Contrast checker → · Palette generator →

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