#381890#381890

#381890 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.178 H 284.6°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#381890
RGBrgb(56, 24, 144)
HSLhsl(256, 71%, 33%)
HSVhsv(256, 83%, 56%)
CMYKcmyk(61.1%, 83.3%, 0%, 43.5%)
CIE-LABlab(21.97, 45.82, -59.70)
CIE-LCHlch(21.97, 75.26, 307.51°)
OKLaboklab(34.82% 0.0447 -0.1721)
OKLCHoklch(34.82% 0.178 284.6)
XYZxyz(6.9900, 3.5072, 26.6888)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381890 #709018
analogous
#183490 #381890 #741890
triadic
#381890 #903818 #189038
tetradic
#381890 #901834 #709018 #189074
square
#381890 #901834 #709018 #189074
split-complementary
#381890 #907418 #349018
monochromatic
#0F0727 #240F5C #381890 #4C21C4 #6D43E0

Accessibility & contrast

On white

12.34
#381890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#381890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381890
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381890#FFFFFF#000000##FFFFFF
##3818901.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #381890;
/* rgb */ color: rgb(56, 24, 144);
/* oklch */ color: oklch(34.8% 0.178 284.6);
Tailwind
colors: {
  custom: {
    50: '#7b5bb2',
    500: '#381890',
    950: '#000000',
  },
}
SCSS
$custom: #381890;
$custom-light: #7b5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#381890",
  "rgb": {
    "r": 56,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 256,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.17778,
    "h": 284.6
  },
  "luminance": 0.03508
}

Semantic roles & 50–950 ramp

primary
#381890
secondary
#9FC043
accent
#EE3ABE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #381890

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

Preview Lab → · Contrast checker → · Palette generator →

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