#3E135F#3E135F

#3E135F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.127 H 305.7°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#3E135F
RGBrgb(62, 19, 95)
HSLhsl(274, 67%, 22%)
HSVhsv(274, 80%, 37%)
CMYKcmyk(34.7%, 80%, 0%, 62.7%)
CIE-LABlab(17.07, 35.42, -36.27)
CIE-LCHlch(17.07, 50.70, 314.33°)
OKLaboklab(30.1% 0.0741 -0.1032)
OKLCHoklch(30.1% 0.127 305.7)
XYZxyz(4.2846, 2.3161, 11.0456)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E135F #345F13
analogous
#18135F #3E135F #5F135A
triadic
#3E135F #5F3E13 #135F3E
tetradic
#3E135F #5F1813 #345F13 #135A5F
square
#3E135F #5F1813 #345F13 #135A5F
split-complementary
#3E135F #5A5F13 #135F18
monochromatic
#11051A #1D092C #3E135F #5F1D92 #8127C5

Accessibility & contrast

On white

14.35
#3E135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E135F
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E135F#FFFFFF#000000##FFFFFF
##3E135F1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#382638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3e135f;
/* rgb */ color: rgb(62, 19, 95);
/* oklch */ color: oklch(30.1% 0.127 305.7);
Tailwind
colors: {
  custom: {
    50: '#77568d',
    500: '#3e135f',
    950: '#000000',
  },
}
SCSS
$custom: #3e135f;
$custom-light: #77568d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e135f",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 273.947,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30097,
    "c": 0.12702,
    "h": 305.7
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#3E135F
secondary
#619737
accent
#EA3E89
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E135F

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

Preview Lab → · Contrast checker → · Palette generator →

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