#381965#381965

#381965 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.125 H 297.0°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#381965
RGBrgb(56, 25, 101)
HSLhsl(264, 60%, 25%)
HSVhsv(264, 75%, 40%)
CMYKcmyk(44.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(17.81, 32.81, -39.07)
CIE-LCHlch(17.81, 51.02, 310.02°)
OKLaboklab(30.6% 0.0568 -0.1117)
OKLCHoklch(30.6% 0.125 297)
XYZxyz(4.3269, 2.4755, 12.5593)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381965 #466519
analogous
#192065 #381965 #5E1965
triadic
#381965 #653819 #196538
tetradic
#381965 #651920 #466519 #19655E
square
#381965 #651920 #466519 #19655E
split-complementary
#381965 #655E19 #206519
monochromatic
#0E0619 #1D0D34 #381965 #532596 #6E31C7

Accessibility & contrast

On white

14.04
#381965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#381965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381965
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381965#FFFFFF#000000##FFFFFF
##3819651.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #381965;
/* rgb */ color: rgb(56, 25, 101);
/* oklch */ color: oklch(30.6% 0.125 297.0);
Tailwind
colors: {
  custom: {
    50: '#735992',
    500: '#381965',
    950: '#000000',
  },
}
SCSS
$custom: #381965;
$custom-light: #735992;
$custom-dark: #000000;
JSON
{
  "hex": "#381965",
  "rgb": {
    "r": 56,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 264.474,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.306,
    "c": 0.1253,
    "h": 297
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#381965
secondary
#759B3F
accent
#E344A3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #381965

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

Preview Lab → · Contrast checker → · Palette generator →

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