#3E1BA0#3E1BA0

#3E1BA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.193 H 284.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#3E1BA0
RGBrgb(62, 27, 160)
HSLhsl(256, 71%, 37%)
HSVhsv(256, 83%, 63%)
CMYKcmyk(61.2%, 83.1%, 0%, 37.3%)
CIE-LABlab(24.78, 49.74, -64.88)
CIE-LCHlch(24.78, 81.75, 307.48°)
OKLaboklab(37.43% 0.047 -0.187)
OKLCHoklch(37.43% 0.193 284.1)
XYZxyz(8.7218, 4.3455, 33.6301)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1BA0 #7DA01B
analogous
#1B3BA0 #3E1BA0 #811BA0
triadic
#3E1BA0 #A03E1B #1BA03E
tetradic
#3E1BA0 #A01B3B #7DA01B #1BA081
square
#3E1BA0 #A01B3B #7DA01B #1BA081
split-complementary
#3E1BA0 #A0811B #3BA01B
monochromatic
#150937 #2A126C #3E1BA0 #5224D4 #7953E2

Accessibility & contrast

On white

11.23
#3E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1BA0
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1BA0#FFFFFF#000000##FFFFFF
##3E1BA01.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e1ba0;
/* rgb */ color: rgb(62, 27, 160);
/* oklch */ color: oklch(37.4% 0.193 284.1);
Tailwind
colors: {
  custom: {
    50: '#815ebd',
    500: '#3e1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ba0;
$custom-light: #815ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ba0",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 255.789,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37428,
    "c": 0.19285,
    "h": 284.1
  },
  "luminance": 0.04346
}

Semantic roles & 50–950 ramp

primary
#3E1BA0
secondary
#A7C552
accent
#EE3ABF
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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