#3E1E75#3E1E75

#3E1E75 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.139 H 294.4°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#3E1E75
RGBrgb(62, 30, 117)
HSLhsl(262, 59%, 29%)
HSVhsv(262, 74%, 46%)
CMYKcmyk(47%, 74.4%, 0%, 54.1%)
CIE-LABlab(20.97, 35.91, -44.28)
CIE-LCHlch(20.97, 57.01, 309.05°)
OKLaboklab(33.46% 0.0576 -0.1268)
OKLCHoklch(33.46% 0.139 294.4)
XYZxyz(5.6609, 3.2369, 17.1527)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E75 #55751E
analogous
#1E2A75 #3E1E75 #6A1E75
triadic
#3E1E75 #753E1E #1E753E
tetradic
#3E1E75 #751E2A #55751E #1E756A
square
#3E1E75 #751E2A #55751E #1E756A
split-complementary
#3E1E75 #756A1E #2A751E
monochromatic
#0D0618 #241244 #3E1E75 #582AA6 #7440CE

Accessibility & contrast

On white

12.75
#3E1E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E1E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E75
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E75#FFFFFF#000000##FFFFFF
##3E1E751.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003173
Tritanopia (blue-blind)
#2E3447
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1e75;
/* rgb */ color: rgb(62, 30, 117);
/* oklch */ color: oklch(33.5% 0.139 294.4);
Tailwind
colors: {
  custom: {
    50: '#795d9e',
    500: '#3e1e75',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e75;
$custom-light: #795d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e75",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 262.069,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33463,
    "c": 0.13927,
    "h": 294.4
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#3E1E75
secondary
#84A946
accent
#E245A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1E75

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

Preview Lab → · Contrast checker → · Palette generator →

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