#381465#381465

#381465 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.132 H 298.1°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#381465
RGBrgb(56, 20, 101)
HSLhsl(267, 67%, 24%)
HSVhsv(267, 80%, 40%)
CMYKcmyk(44.6%, 80.2%, 0%, 60.4%)
CIE-LABlab(16.90, 35.39, -40.56)
CIE-LCHlch(16.90, 53.82, 311.11°)
OKLaboklab(29.96% 0.0619 -0.116)
OKLCHoklch(29.96% 0.132 298.1)
XYZxyz(4.2294, 2.2806, 12.5268)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381465 #416514
analogous
#141865 #381465 #601465
triadic
#381465 #653814 #146538
tetradic
#381465 #651418 #416514 #146560
square
#381465 #651418 #416514 #146560
split-complementary
#381465 #656014 #186514
monochromatic
#0E051A #1C0A32 #381465 #541E98 #7128CB

Accessibility & contrast

On white

14.42
#381465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#381465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381465
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381465#FFFFFF#000000##FFFFFF
##3814651.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2D293C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381465;
/* rgb */ color: rgb(56, 20, 101);
/* oklch */ color: oklch(30.0% 0.132 298.1);
Tailwind
colors: {
  custom: {
    50: '#745692',
    500: '#381465',
    950: '#000000',
  },
}
SCSS
$custom: #381465;
$custom-light: #745692;
$custom-dark: #000000;
JSON
{
  "hex": "#381465",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 266.667,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29956,
    "c": 0.13151,
    "h": 298.1
  },
  "luminance": 0.02281
}

Semantic roles & 50–950 ramp

primary
#381465
secondary
#709C39
accent
#EA3E9D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381465

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

Preview Lab → · Contrast checker → · Palette generator →

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