#3E114E#3E114E

#3E114E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.111 H 315.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3E114E
RGBrgb(62, 17, 78)
HSLhsl(284, 64%, 19%)
HSVhsv(284, 78%, 31%)
CMYKcmyk(20.5%, 78.2%, 0%, 69.4%)
CIE-LABlab(15.36, 32.17, -27.55)
CIE-LCHlch(15.36, 42.35, 319.41°)
OKLaboklab(28.45% 0.0793 -0.0776)
OKLCHoklch(28.45% 0.111 315.6)
XYZxyz(3.5620, 1.9752, 7.3999)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E114E #214E11
analogous
#1F114E #3E114E #4E113F
triadic
#3E114E #4E3E11 #114E3E
tetradic
#3E114E #4E1F11 #214E11 #113F4E
square
#3E114E #4E1F11 #214E11 #113F4E
split-complementary
#3E114E #3F4E11 #114E1F
monochromatic
#140519 #16061C #3E114E #661C80 #8E27B2

Accessibility & contrast

On white

15.05
#3E114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E114E
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E114E#FFFFFF#000000##FFFFFF
##3E114E1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#3D1E2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e114e;
/* rgb */ color: rgb(62, 17, 78);
/* oklch */ color: oklch(28.4% 0.111 315.6);
Tailwind
colors: {
  custom: {
    50: '#765480',
    500: '#3e114e',
    950: '#000000',
  },
}
SCSS
$custom: #3e114e;
$custom-light: #765480;
$custom-dark: #000000;
JSON
{
  "hex": "#3e114e",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 284.262,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28449,
    "c": 0.11095,
    "h": 315.6
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#3E114E
secondary
#498733
accent
#E7416C
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E114E

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

Preview Lab → · Contrast checker → · Palette generator →

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