#3E135C#3E135C

#3E135C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.124 H 307.2°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3E135C
RGBrgb(62, 19, 92)
HSLhsl(275, 66%, 22%)
HSVhsv(275, 79%, 36%)
CMYKcmyk(32.6%, 79.3%, 0%, 63.9%)
CIE-LABlab(16.81, 34.66, -34.68)
CIE-LCHlch(16.81, 49.03, 314.98°)
OKLaboklab(29.84% 0.0747 -0.0985)
OKLCHoklch(29.84% 0.124 307.2)
XYZxyz(4.1508, 2.2626, 10.3412)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E135C #315C13
analogous
#19135C #3E135C #5C1356
triadic
#3E135C #5C3E13 #135C3E
tetradic
#3E135C #5C1913 #315C13 #13565C
square
#3E135C #5C1913 #315C13 #13565C
split-complementary
#3E135C #565C13 #135C19
monochromatic
#110519 #1C0929 #3E135C #601D8F #8228C1

Accessibility & contrast

On white

14.46
#3E135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3E135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E135C
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E135C#FFFFFF#000000##FFFFFF
##3E135C1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#392536
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e135c;
/* rgb */ color: rgb(62, 19, 92);
/* oklch */ color: oklch(29.8% 0.124 307.2);
Tailwind
colors: {
  custom: {
    50: '#77568b',
    500: '#3e135c',
    950: '#000000',
  },
}
SCSS
$custom: #3e135c;
$custom-light: #77568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e135c",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 275.342,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.12366,
    "h": 307.2
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#3E135C
secondary
#5D9437
accent
#E93F85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E135C

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

Preview Lab → · Contrast checker → · Palette generator →

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