#3E136F#3E136F

#3E136F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.145 H 298.7°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#3E136F
RGBrgb(62, 19, 111)
HSLhsl(268, 71%, 25%)
HSVhsv(268, 83%, 44%)
CMYKcmyk(44.1%, 82.9%, 0%, 56.5%)
CIE-LABlab(18.53, 39.61, -44.39)
CIE-LCHlch(18.53, 59.49, 311.74°)
OKLaboklab(31.58% 0.0696 -0.127)
OKLCHoklch(31.58% 0.145 298.7)
XYZxyz(5.0880, 2.6375, 15.2769)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E136F #446F13
analogous
#13166F #3E136F #6C136F
triadic
#3E136F #6F3E13 #136F3E
tetradic
#3E136F #6F1316 #446F13 #136F6C
square
#3E136F #6F1316 #446F13 #136F6C
split-complementary
#3E136F #6F6C13 #166F13
monochromatic
#0F041A #210A3B #3E136F #5B1CA3 #7825D8

Accessibility & contrast

On white

13.75
#3E136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3E136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E136F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E136F#FFFFFF#000000##FFFFFF
##3E136F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#322D41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3e136f;
/* rgb */ color: rgb(62, 19, 111);
/* oklch */ color: oklch(31.6% 0.145 298.7);
Tailwind
colors: {
  custom: {
    50: '#795799',
    500: '#3e136f',
    950: '#000000',
  },
}
SCSS
$custom: #3e136f;
$custom-light: #795799;
$custom-dark: #000000;
JSON
{
  "hex": "#3e136f",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 268.043,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31576,
    "c": 0.14484,
    "h": 298.7
  },
  "luminance": 0.02638
}

Semantic roles & 50–950 ramp

primary
#3E136F
secondary
#72A638
accent
#EE3A9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3E136F

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

Preview Lab → · Contrast checker → · Palette generator →

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