#3E19B4#3E19B4

#3E19B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.5% C 0.216 H 280.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3E19B4
RGBrgb(62, 25, 180)
HSLhsl(254, 76%, 40%)
HSVhsv(254, 86%, 71%)
CMYKcmyk(65.6%, 86.1%, 0%, 29.4%)
CIE-LABlab(26.77, 56.07, -73.65)
CIE-LCHlch(26.77, 92.56, 307.29°)
OKLaboklab(39.45% 0.0407 -0.2125)
OKLCHoklch(39.45% 0.216 280.8)
XYZxyz(10.5699, 5.0138, 43.5819)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E19B4 #8FB419
analogous
#1941B4 #3E19B4 #8C19B4
triadic
#3E19B4 #B43E19 #19B43E
tetradic
#3E19B4 #B41941 #8FB419 #19B48C
square
#3E19B4 #B41941 #8FB419 #19B48C
split-complementary
#3E19B4 #B48C19 #41B419
monochromatic
#190A49 #2B127E #3E19B4 #5529E1 #805FE9

Accessibility & contrast

On white

10.48
#3E19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E19B4
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E19B4#FFFFFF#000000##FFFFFF
##3E19B41.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e19b4;
/* rgb */ color: rgb(62, 25, 180);
/* oklch */ color: oklch(39.5% 0.216 280.8);
Tailwind
colors: {
  custom: {
    50: '#845ecc',
    500: '#3e19b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e19b4;
$custom-light: #845ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e19b4",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 254.323,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39453,
    "c": 0.21637,
    "h": 280.8
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#3E19B4
secondary
#B2CD5C
accent
#F236C5
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3E19B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3E19B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva