#381460#381460

#381460 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.126 H 300.2°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#381460
RGBrgb(56, 20, 96)
HSLhsl(268, 66%, 23%)
HSVhsv(268, 79%, 38%)
CMYKcmyk(41.7%, 79.2%, 0%, 62.4%)
CIE-LABlab(16.43, 34.00, -38.00)
CIE-LCHlch(16.43, 50.99, 311.82°)
OKLaboklab(29.49% 0.0633 -0.1085)
OKLCHoklch(29.49% 0.126 300.2)
XYZxyz(3.9918, 2.1856, 11.2756)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381460 #3C6014
analogous
#141660 #381460 #5E1460
triadic
#381460 #603814 #146038
tetradic
#381460 #601416 #3C6014 #14605E
square
#381460 #601416 #3C6014 #14605E
split-complementary
#381460 #605E14 #166014
monochromatic
#0F0519 #1A092D #381460 #561F93 #7329C5

Accessibility & contrast

On white

14.61
#381460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#381460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #381460
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381460#FFFFFF#000000##FFFFFF
##3814601.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2F2739
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381460;
/* rgb */ color: rgb(56, 20, 96);
/* oklch */ color: oklch(29.5% 0.126 300.2);
Tailwind
colors: {
  custom: {
    50: '#73568e',
    500: '#381460',
    950: '#000000',
  },
}
SCSS
$custom: #381460;
$custom-light: #73568e;
$custom-dark: #000000;
JSON
{
  "hex": "#381460",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 268.421,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29487,
    "c": 0.12561,
    "h": 300.2
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#381460
secondary
#6A9838
accent
#E83F98
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381460

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

Preview Lab → · Contrast checker → · Palette generator →

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