#3E1067#3E1067

#3E1067 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.139 H 302.5°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#3E1067
RGBrgb(62, 16, 103)
HSLhsl(272, 73%, 23%)
HSVhsv(272, 84%, 40%)
CMYKcmyk(39.8%, 84.5%, 0%, 59.6%)
CIE-LABlab(17.34, 38.77, -41.11)
CIE-LCHlch(17.34, 56.51, 313.32°)
OKLaboklab(30.51% 0.0747 -0.1174)
OKLCHoklch(30.51% 0.139 302.5)
XYZxyz(4.6195, 2.3740, 13.0442)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1067 #396710
analogous
#121067 #3E1067 #671064
triadic
#3E1067 #673E10 #10673E
tetradic
#3E1067 #671210 #396710 #106467
square
#3E1067 #671210 #396710 #106467
split-complementary
#3E1067 #646710 #106712
monochromatic
#10041A #1E0832 #3E1067 #5E189C #7E20D1

Accessibility & contrast

On white

14.24
#3E1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3E1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1067
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1067#FFFFFF#000000##FFFFFF
##3E10671.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002A65
Tritanopia (blue-blind)
#35283C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1067;
/* rgb */ color: rgb(62, 16, 103);
/* oklch */ color: oklch(30.5% 0.139 302.5);
Tailwind
colors: {
  custom: {
    50: '#785593',
    500: '#3e1067',
    950: '#000000',
  },
}
SCSS
$custom: #3e1067;
$custom-light: #785593;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1067",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 271.724,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.13912,
    "h": 302.5
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#3E1067
secondary
#669F33
accent
#F0388F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3E1067

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

Preview Lab → · Contrast checker → · Palette generator →

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