#3E1D6D#3E1D6D

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

Color values

HEX#3E1D6D
RGBrgb(62, 29, 109)
HSLhsl(265, 58%, 27%)
HSVhsv(265, 73%, 43%)
CMYKcmyk(43.1%, 73.4%, 0%, 57.3%)
CIE-LABlab(20.07, 34.16, -40.58)
CIE-LCHlch(20.07, 53.04, 310.09°)
OKLaboklab(32.61% 0.0603 -0.1159)
OKLCHoklch(32.61% 0.131 297.5)
XYZxyz(5.1856, 3.0069, 14.7722)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1D6D #4C6D1D
analogous
#1D246D #3E1D6D #661D6D
triadic
#3E1D6D #6D3E1D #1D6D3E
tetradic
#3E1D6D #6D1D24 #4C6D1D #1D6D66
square
#3E1D6D #6D1D24 #4C6D1D #1D6D66
split-complementary
#3E1D6D #6D661D #246D1D
monochromatic
#0E0618 #23103D #3E1D6D #592A9D #763ACB

Accessibility & contrast

On white

13.11
#3E1D6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1D6D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1D6D#FFFFFF#000000##FFFFFF
##3E1D6D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#323142
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3e1d6d;
/* rgb */ color: rgb(62, 29, 109);
/* oklch */ color: oklch(32.6% 0.131 297.5);
Tailwind
colors: {
  custom: {
    50: '#785c98',
    500: '#3e1d6d',
    950: '#000000',
  },
}
SCSS
$custom: #3e1d6d;
$custom-light: #785c98;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1d6d",
  "rgb": {
    "r": 62,
    "g": 29,
    "b": 109
  },
  "hsl": {
    "h": 264.75,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32606,
    "c": 0.13067,
    "h": 297.5
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#3E1D6D
secondary
#7BA244
accent
#E147A1
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1D6D

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

Preview Lab → · Contrast checker → · Palette generator →

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