#381459#381459

#381459 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.117 H 303.6°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#381459
RGBrgb(56, 20, 89)
HSLhsl(271, 63%, 21%)
HSVhsv(271, 78%, 35%)
CMYKcmyk(37.1%, 77.5%, 0%, 65.1%)
CIE-LABlab(15.81, 32.09, -34.33)
CIE-LCHlch(15.81, 47.00, 313.07°)
OKLaboklab(28.85% 0.0649 -0.0977)
OKLCHoklch(28.85% 0.117 303.6)
XYZxyz(3.6838, 2.0623, 9.6533)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381459 #355914
analogous
#151459 #381459 #591458
triadic
#381459 #593814 #145938
tetradic
#381459 #591514 #355914 #145859
square
#381459 #591514 #355914 #145859
split-complementary
#381459 #585914 #145915
monochromatic
#100619 #190927 #381459 #571F8B #772ABD

Accessibility & contrast

On white

14.87
#381459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#381459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381459
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381459#FFFFFF#000000##FFFFFF
##3814591.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002758
Tritanopia (blue-blind)
#312535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #381459;
/* rgb */ color: rgb(56, 20, 89);
/* oklch */ color: oklch(28.9% 0.117 303.6);
Tailwind
colors: {
  custom: {
    50: '#725588',
    500: '#381459',
    950: '#000000',
  },
}
SCSS
$custom: #381459;
$custom-light: #725588;
$custom-dark: #000000;
JSON
{
  "hex": "#381459",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 271.304,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28854,
    "c": 0.1173,
    "h": 303.6
  },
  "luminance": 0.02062
}

Semantic roles & 50–950 ramp

primary
#381459
secondary
#629138
accent
#E64190
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #381459

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

Preview Lab → · Contrast checker → · Palette generator →

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