#3E1E70#3E1E70

#3E1E70 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.133 H 296.2°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#3E1E70
RGBrgb(62, 30, 112)
HSLhsl(263, 58%, 28%)
HSVhsv(263, 73%, 44%)
CMYKcmyk(44.6%, 73.2%, 0%, 56.1%)
CIE-LABlab(20.53, 34.47, -41.78)
CIE-LCHlch(20.53, 54.16, 309.52°)
OKLaboklab(33.01% 0.0587 -0.1194)
OKLCHoklch(33.01% 0.133 296.2)
XYZxyz(5.3747, 3.1224, 15.6456)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E70 #50701E
analogous
#1E2770 #3E1E70 #671E70
triadic
#3E1E70 #703E1E #1E703E
tetradic
#3E1E70 #701E27 #50701E #1E7067
square
#3E1E70 #701E27 #50701E #1E7067
split-complementary
#3E1E70 #70671E #27701E
monochromatic
#0D0618 #231140 #3E1E70 #592BA0 #753DCB

Accessibility & contrast

On white

12.93
#3E1E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3E1E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E70
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E70#FFFFFF#000000##FFFFFF
##3E1E701.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#313244
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3e1e70;
/* rgb */ color: rgb(62, 30, 112);
/* oklch */ color: oklch(33.0% 0.133 296.2);
Tailwind
colors: {
  custom: {
    50: '#785d9a',
    500: '#3e1e70',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e70;
$custom-light: #785d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e70",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 263.415,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33012,
    "c": 0.13307,
    "h": 296.2
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#3E1E70
secondary
#7FA446
accent
#E147A5
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1E70

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

Preview Lab → · Contrast checker → · Palette generator →

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