#3E1B70#3E1B70

#3E1B70 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.137 H 296.8°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#3E1B70
RGBrgb(62, 27, 112)
HSLhsl(265, 61%, 27%)
HSVhsv(265, 76%, 44%)
CMYKcmyk(44.6%, 75.9%, 0%, 56.1%)
CIE-LABlab(19.95, 36.07, -42.71)
CIE-LCHlch(19.95, 55.91, 310.19°)
OKLaboklab(32.61% 0.0618 -0.1222)
OKLCHoklch(32.61% 0.137 296.8)
XYZxyz(5.3024, 2.9777, 15.6215)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1B70 #4D701B
analogous
#1B2370 #3E1B70 #691B70
triadic
#3E1B70 #703E1B #1B703E
tetradic
#3E1B70 #701B23 #4D701B #1B7069
square
#3E1B70 #701B23 #4D701B #1B7069
split-complementary
#3E1B70 #70691B #23701B
monochromatic
#0E0619 #230F3F #3E1B70 #5927A1 #7537CF

Accessibility & contrast

On white

13.16
#3E1B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3E1B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1B70
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1B70#FFFFFF#000000##FFFFFF
##3E1B701.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#313144
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1b70;
/* rgb */ color: rgb(62, 27, 112);
/* oklch */ color: oklch(32.6% 0.137 296.8);
Tailwind
colors: {
  custom: {
    50: '#795b9a',
    500: '#3e1b70',
    950: '#000000',
  },
}
SCSS
$custom: #3e1b70;
$custom-light: #795b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1b70",
  "rgb": {
    "r": 62,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 264.706,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.13692,
    "h": 296.8
  },
  "luminance": 0.02978
}

Semantic roles & 50–950 ramp

primary
#3E1B70
secondary
#7CA542
accent
#E444A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1B70

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

Preview Lab → · Contrast checker → · Palette generator →

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