#3E1567#3E1567

#3E1567 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.134 H 301.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#3E1567
RGBrgb(62, 21, 103)
HSLhsl(270, 66%, 24%)
HSVhsv(270, 80%, 40%)
CMYKcmyk(39.8%, 79.6%, 0%, 59.6%)
CIE-LABlab(18.10, 36.58, -39.87)
CIE-LCHlch(18.10, 54.11, 312.53°)
OKLaboklab(31.04% 0.0701 -0.1138)
OKLCHoklch(31.04% 0.134 301.6)
XYZxyz(4.7024, 2.5397, 13.0718)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1567 #3E6715
analogous
#151567 #3E1567 #671567
triadic
#3E1567 #673E15 #15673E
tetradic
#3E1567 #671515 #3E6715 #156767
square
#3E1567 #671515 #3E6715 #156767
split-complementary
#3E1567 #676715 #156715
monochromatic
#0F0519 #1F0B34 #3E1567 #5D1F9A #7B2ACD

Accessibility & contrast

On white

13.93
#3E1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3E1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1567
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1567#FFFFFF#000000##FFFFFF
##3E15671.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#352A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3e1567;
/* rgb */ color: rgb(62, 21, 103);
/* oklch */ color: oklch(31.0% 0.134 301.6);
Tailwind
colors: {
  custom: {
    50: '#785793',
    500: '#3e1567',
    950: '#000000',
  },
}
SCSS
$custom: #3e1567;
$custom-light: #785793;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1567",
  "rgb": {
    "r": 62,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 270,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31044,
    "c": 0.13364,
    "h": 301.6
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#3E1567
secondary
#6C9E3A
accent
#E93F94
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1567

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

Preview Lab → · Contrast checker → · Palette generator →

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