#3E1967#3E1967

#3E1967 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.129 H 300.8°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#3E1967
RGBrgb(62, 25, 103)
HSLhsl(268, 61%, 25%)
HSVhsv(268, 76%, 40%)
CMYKcmyk(39.8%, 75.7%, 0%, 59.6%)
CIE-LABlab(18.79, 34.61, -38.74)
CIE-LCHlch(18.79, 51.95, 311.77°)
OKLaboklab(31.54% 0.0659 -0.1105)
OKLCHoklch(31.54% 0.129 300.8)
XYZxyz(4.7818, 2.6986, 13.0983)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1967 #426719
analogous
#191B67 #3E1967 #651967
triadic
#3E1967 #673E19 #19673E
tetradic
#3E1967 #67191B #426719 #196765
square
#3E1967 #67191B #426719 #196765
split-complementary
#3E1967 #676519 #1B6719
monochromatic
#0F0619 #200D36 #3E1967 #5C2598 #7931C9

Accessibility & contrast

On white

13.64
#3E1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3E1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1967
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1967#FFFFFF#000000##FFFFFF
##3E19671.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#352C3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3e1967;
/* rgb */ color: rgb(62, 25, 103);
/* oklch */ color: oklch(31.5% 0.129 300.8);
Tailwind
colors: {
  custom: {
    50: '#785993',
    500: '#3e1967',
    950: '#000000',
  },
}
SCSS
$custom: #3e1967;
$custom-light: #785993;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1967",
  "rgb": {
    "r": 62,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 268.462,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31536,
    "c": 0.12866,
    "h": 300.8
  },
  "luminance": 0.02699
}

Semantic roles & 50–950 ramp

primary
#3E1967
secondary
#709D3F
accent
#E44498
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3E1967

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

Preview Lab → · Contrast checker → · Palette generator →

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