#3E1B83#3E1B83

#3E1B83 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.160 H 290.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#3E1B83
RGBrgb(62, 27, 131)
HSLhsl(260, 66%, 31%)
HSVhsv(260, 79%, 51%)
CMYKcmyk(52.7%, 79.4%, 0%, 48.6%)
CIE-LABlab(21.75, 41.48, -51.90)
CIE-LCHlch(21.75, 66.44, 308.63°)
OKLaboklab(34.42% 0.0567 -0.1491)
OKLCHoklch(34.42% 0.16 290.8)
XYZxyz(6.4741, 3.4464, 21.7924)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B83 #60831B
analogous
#1B2C83 #3E1B83 #721B83
triadic
#3E1B83 #833E1B #1B833E
tetradic
#3E1B83 #831B2C #60831B #1B8372
square
#3E1B83 #831B2C #60831B #1B8372
split-complementary
#3E1B83 #83721B #2C831B
monochromatic
#0E061E #261150 #3E1B83 #5625B6 #7341D8

Accessibility & contrast

On white

12.43
#3E1B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E1B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B83
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B83#FFFFFF#000000##FFFFFF
##3E1B831.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#26384E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1b83;
/* rgb */ color: rgb(62, 27, 131);
/* oklch */ color: oklch(34.4% 0.160 290.8);
Tailwind
colors: {
  custom: {
    50: '#7b5ca8',
    500: '#3e1b83',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b83;
$custom-light: #7b5ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b83",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 131
  },
  "hsl": {
    "h": 260.192,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34418,
    "c": 0.15953,
    "h": 290.8
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#3E1B83
secondary
#90B643
accent
#E93FB0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3E1B83

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

Preview Lab → · Contrast checker → · Palette generator →

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