#3E135D#3E135D

#3E135D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.125 H 306.7°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#3E135D
RGBrgb(62, 19, 93)
HSLhsl(275, 66%, 22%)
HSVhsv(275, 80%, 36%)
CMYKcmyk(33.3%, 79.6%, 0%, 63.5%)
CIE-LABlab(16.89, 34.91, -35.21)
CIE-LCHlch(16.89, 49.59, 314.75°)
OKLaboklab(29.92% 0.0745 -0.1001)
OKLCHoklch(29.92% 0.125 306.7)
XYZxyz(4.1948, 2.2802, 10.5729)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E135D #325D13
analogous
#19135D #3E135D #5D1357
triadic
#3E135D #5D3E13 #135D3E
tetradic
#3E135D #5D1913 #325D13 #13575D
square
#3E135D #5D1913 #325D13 #13575D
split-complementary
#3E135D #575D13 #135D19
monochromatic
#110519 #1C092A #3E135D #601D90 #8228C3

Accessibility & contrast

On white

14.42
#3E135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3E135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E135D
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E135D#FFFFFF#000000##FFFFFF
##3E135D1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#392537
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e135d;
/* rgb */ color: rgb(62, 19, 93);
/* oklch */ color: oklch(29.9% 0.125 306.7);
Tailwind
colors: {
  custom: {
    50: '#77568b',
    500: '#3e135d',
    950: '#000000',
  },
}
SCSS
$custom: #3e135d;
$custom-light: #77568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e135d",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 274.865,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29922,
    "c": 0.12478,
    "h": 306.7
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#3E135D
secondary
#5E9537
accent
#E93F86
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E135D

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

Preview Lab → · Contrast checker → · Palette generator →

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