#3E1D70#3E1D70

#3E1D70 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.134 H 296.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#3E1D70
RGBrgb(62, 29, 112)
HSLhsl(264, 59%, 28%)
HSVhsv(264, 74%, 44%)
CMYKcmyk(44.6%, 74.1%, 0%, 56.1%)
CIE-LABlab(20.33, 35.01, -42.09)
CIE-LCHlch(20.33, 54.75, 309.75°)
OKLaboklab(32.87% 0.0597 -0.1204)
OKLCHoklch(32.87% 0.134 296.4)
XYZxyz(5.3498, 3.0726, 15.6373)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D70 #4F701D
analogous
#1D2670 #3E1D70 #671D70
triadic
#3E1D70 #703E1D #1D703E
tetradic
#3E1D70 #701D26 #4F701D #1D7067
square
#3E1D70 #701D26 #4F701D #1D7067
split-complementary
#3E1D70 #70671D #26701D
monochromatic
#0D0618 #23103F #3E1D70 #592AA1 #753BCC

Accessibility & contrast

On white

13.01
#3E1D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1D70
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D70#FFFFFF#000000##FFFFFF
##3E1D701.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e1d70;
/* rgb */ color: rgb(62, 29, 112);
/* oklch */ color: oklch(32.9% 0.134 296.4);
Tailwind
colors: {
  custom: {
    50: '#785c9a',
    500: '#3e1d70',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d70;
$custom-light: #785c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d70",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 112
  },
  "hsl": {
    "h": 263.855,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32873,
    "c": 0.13438,
    "h": 296.4
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#3E1D70
secondary
#7EA444
accent
#E246A4
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1D70

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

Preview Lab → · Contrast checker → · Palette generator →

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