#3E1E7E#3E1E7E

#3E1E7E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.150 H 291.7°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#3E1E7E
RGBrgb(62, 30, 126)
HSLhsl(260, 62%, 31%)
HSVhsv(260, 76%, 49%)
CMYKcmyk(50.8%, 76.2%, 0%, 50.6%)
CIE-LABlab(21.79, 38.53, -48.67)
CIE-LCHlch(21.79, 62.08, 308.37°)
OKLaboklab(34.3% 0.0555 -0.1397)
OKLCHoklch(34.3% 0.15 291.7)
XYZxyz(6.2157, 3.4588, 20.0747)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1E7E #5E7E1E
analogous
#1E2E7E #3E1E7E #6E1E7E
triadic
#3E1E7E #7E3E1E #1E7E3E
tetradic
#3E1E7E #7E1E2E #5E7E1E #1E7E6E
square
#3E1E7E #7E1E2E #5E7E1E #1E7E6E
split-complementary
#3E1E7E #7E6E1E #2E7E1E
monochromatic
#0D061B #26124D #3E1E7E #562AAF #7344D2

Accessibility & contrast

On white

12.41
#3E1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3E1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1E7E
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1E7E#FFFFFF#000000##FFFFFF
##3E1E7E1.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#29384C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e1e7e;
/* rgb */ color: rgb(62, 30, 126);
/* oklch */ color: oklch(34.3% 0.150 291.7);
Tailwind
colors: {
  custom: {
    50: '#7a5da4',
    500: '#3e1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #3e1e7e;
$custom-light: #7a5da4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1e7e",
  "rgb": {
    "r": 62,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 260,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.15029,
    "h": 291.7
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#3E1E7E
secondary
#8EB147
accent
#E543AF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3E1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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