#381461#381461

#381461 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 299.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#381461
RGBrgb(56, 20, 97)
HSLhsl(268, 66%, 23%)
HSVhsv(268, 79%, 38%)
CMYKcmyk(42.3%, 79.4%, 0%, 62%)
CIE-LABlab(16.52, 34.28, -38.52)
CIE-LCHlch(16.52, 51.56, 311.67°)
OKLaboklab(29.58% 0.063 -0.11)
OKLCHoklch(29.58% 0.127 299.8)
XYZxyz(4.0382, 2.2041, 11.5196)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#381461 #3D6114
analogous
#141661 #381461 #5E1461
triadic
#381461 #613814 #146138
tetradic
#381461 #611416 #3D6114 #14615E
square
#381461 #611416 #3D6114 #14615E
split-complementary
#381461 #615E14 #166114
monochromatic
#0F0519 #1B0A2E #381461 #551E94 #7329C6

Accessibility & contrast

On white

14.58
#381461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #381461
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##381461#FFFFFF#000000##FFFFFF
##3814611.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#2E2839
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #381461;
/* rgb */ color: rgb(56, 20, 97);
/* oklch */ color: oklch(29.6% 0.127 299.8);
Tailwind
colors: {
  custom: {
    50: '#73568f',
    500: '#381461',
    950: '#000000',
  },
}
SCSS
$custom: #381461;
$custom-light: #73568f;
$custom-dark: #000000;
JSON
{
  "hex": "#381461",
  "rgb": {
    "r": 56,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 268.052,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2958,
    "c": 0.12679,
    "h": 299.8
  },
  "luminance": 0.02204
}

Semantic roles & 50–950 ramp

primary
#381461
secondary
#6C9838
accent
#E93F99
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #381461

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

Preview Lab → · Contrast checker → · Palette generator →

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