#3E1BAA#3E1BAA

#3E1BAA is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.204 H 282.3°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3E1BAA
RGBrgb(62, 27, 170)
HSLhsl(255, 73%, 39%)
HSVhsv(255, 84%, 67%)
CMYKcmyk(63.5%, 84.1%, 0%, 33.3%)
CIE-LABlab(25.89, 52.55, -69.11)
CIE-LCHlch(25.89, 86.82, 307.25°)
OKLaboklab(38.52% 0.0435 -0.1993)
OKLCHoklch(38.52% 0.204 282.3)
XYZxyz(9.6320, 4.7096, 38.4239)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1BAA #87AA1B
analogous
#1B3FAA #3E1BAA #851BAA
triadic
#3E1BAA #AA3E1B #1BAA3E
tetradic
#3E1BAA #AA1B3F #87AA1B #1BAA85
square
#3E1BAA #AA1B3F #87AA1B #1BAA85
split-complementary
#3E1BAA #AA851B #3FAA1B
monochromatic
#170A40 #2B1375 #3E1BAA #5226DC #7C5BE5

Accessibility & contrast

On white

10.81
#3E1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1BAA
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1BAA#FFFFFF#000000##FFFFFF
##3E1BAA1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004965
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e1baa;
/* rgb */ color: rgb(62, 27, 170);
/* oklch */ color: oklch(38.5% 0.204 282.3);
Tailwind
colors: {
  custom: {
    50: '#825fc5',
    500: '#3e1baa',
    950: '#000000',
  },
}
SCSS
$custom: #3e1baa;
$custom-light: #825fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1baa",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 254.685,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38517,
    "c": 0.20403,
    "h": 282.3
  },
  "luminance": 0.0471
}

Semantic roles & 50–950 ramp

primary
#3E1BAA
secondary
#ADC958
accent
#EF39C3
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3E1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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