#3E1A75#3E1A75

#3E1A75 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.144 H 295.3°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3E1A75
RGBrgb(62, 26, 117)
HSLhsl(264, 64%, 28%)
HSVhsv(264, 78%, 46%)
CMYKcmyk(47%, 77.8%, 0%, 54.1%)
CIE-LABlab(20.23, 37.99, -45.48)
CIE-LCHlch(20.23, 59.26, 309.88°)
OKLaboklab(32.94% 0.0616 -0.1303)
OKLCHoklch(32.94% 0.144 295.3)
XYZxyz(5.5660, 3.0471, 17.1211)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1A75 #51751A
analogous
#1A2475 #3E1A75 #6B1A75
triadic
#3E1A75 #753E1A #1A753E
tetradic
#3E1A75 #751A24 #51751A #1A756B
square
#3E1A75 #751A24 #51751A #1A756B
split-complementary
#3E1A75 #756B1A #24751A
monochromatic
#0D0619 #230F43 #3E1A75 #5925A7 #7437D3

Accessibility & contrast

On white

13.05
#3E1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3E1A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1A75
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1A75#FFFFFF#000000##FFFFFF
##3E1A751.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#2F3246
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1a75;
/* rgb */ color: rgb(62, 26, 117);
/* oklch */ color: oklch(32.9% 0.144 295.3);
Tailwind
colors: {
  custom: {
    50: '#795b9e',
    500: '#3e1a75',
    950: '#000000',
  },
}
SCSS
$custom: #3e1a75;
$custom-light: #795b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1a75",
  "rgb": {
    "r": 62,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 263.736,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.1441,
    "h": 295.3
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#3E1A75
secondary
#80AA41
accent
#E741A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3E1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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