#381468#381468

#381468 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.135 H 296.9°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#381468
RGBrgb(56, 20, 104)
HSLhsl(266, 68%, 24%)
HSVhsv(266, 81%, 41%)
CMYKcmyk(46.2%, 80.8%, 0%, 59.2%)
CIE-LABlab(17.18, 36.23, -42.06)
CIE-LCHlch(17.18, 55.51, 310.74°)
OKLaboklab(30.24% 0.0611 -0.1204)
OKLCHoklch(30.24% 0.135 296.9)
XYZxyz(4.3791, 2.3404, 13.3151)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381468 #446814
analogous
#141A68 #381468 #621468
triadic
#381468 #683814 #146838
tetradic
#381468 #68141A #446814 #146862
square
#381468 #68141A #446814 #146862
split-complementary
#381468 #686214 #1A6814
monochromatic
#0E051A #1C0A35 #381468 #541E9B #6F28CF

Accessibility & contrast

On white

14.30
#381468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#381468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381468
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381468#FFFFFF#000000##FFFFFF
##3814681.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#2B2B3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #381468;
/* rgb */ color: rgb(56, 20, 104);
/* oklch */ color: oklch(30.2% 0.135 296.9);
Tailwind
colors: {
  custom: {
    50: '#745694',
    500: '#381468',
    950: '#000000',
  },
}
SCSS
$custom: #381468;
$custom-light: #745694;
$custom-dark: #000000;
JSON
{
  "hex": "#381468",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 265.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30244,
    "c": 0.13503,
    "h": 296.9
  },
  "luminance": 0.02341
}

Semantic roles & 50–950 ramp

primary
#381468
secondary
#739F39
accent
#EB3DA0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #381468

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

Preview Lab → · Contrast checker → · Palette generator →

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