#3E1BA7#3E1BA7

#3E1BA7 is a dark, highly saturated violet. Relative luminance 0.046; OKLCH L 38.2% C 0.201 H 282.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3E1BA7
RGBrgb(62, 27, 167)
HSLhsl(255, 72%, 38%)
HSVhsv(255, 84%, 65%)
CMYKcmyk(62.9%, 83.8%, 0%, 34.5%)
CIE-LABlab(25.56, 51.71, -67.85)
CIE-LCHlch(25.56, 85.31, 307.31°)
OKLaboklab(38.19% 0.0446 -0.1957)
OKLCHoklch(38.19% 0.201 282.8)
XYZxyz(9.3514, 4.5974, 36.9463)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1BA7 #84A71B
analogous
#1B3EA7 #3E1BA7 #841BA7
triadic
#3E1BA7 #A73E1B #1BA73E
tetradic
#3E1BA7 #A71B3E #84A71B #1BA784
square
#3E1BA7 #A71B3E #84A71B #1BA784
split-complementary
#3E1BA7 #A7841B #3EA71B
monochromatic
#170A3E #2A1272 #3E1BA7 #5224DC #7B58E4

Accessibility & contrast

On white

10.94
#3E1BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E1BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1BA7
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1BA7#FFFFFF#000000##FFFFFF
##3E1BA71.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004763
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e1ba7;
/* rgb */ color: rgb(62, 27, 167);
/* oklch */ color: oklch(38.2% 0.201 282.8);
Tailwind
colors: {
  custom: {
    50: '#825ec2',
    500: '#3e1ba7',
    950: '#000000',
  },
}
SCSS
$custom: #3e1ba7;
$custom-light: #825ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1ba7",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 255,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38188,
    "c": 0.2007,
    "h": 282.8
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#3E1BA7
secondary
#ABC856
accent
#EF39C1
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E1BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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