#3E1461#3E1461

#3E1461 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.128 H 304.5°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#3E1461
RGBrgb(62, 20, 97)
HSLhsl(273, 66%, 23%)
HSVhsv(273, 79%, 38%)
CMYKcmyk(36.1%, 79.4%, 0%, 62%)
CIE-LABlab(17.40, 35.47, -37.05)
CIE-LCHlch(17.40, 51.29, 313.76°)
OKLaboklab(30.39% 0.0726 -0.1055)
OKLCHoklch(30.39% 0.128 304.5)
XYZxyz(4.3939, 2.3875, 11.5363)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1461 #376114
analogous
#171461 #3E1461 #61145D
triadic
#3E1461 #613E14 #14613E
tetradic
#3E1461 #611714 #376114 #145D61
square
#3E1461 #611714 #376114 #145D61
split-complementary
#3E1461 #5D6114 #146117
monochromatic
#100519 #1E0A2E #3E1461 #5E1E94 #7F29C6

Accessibility & contrast

On white

14.21
#3E1461 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3E1461 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1461
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1461#FFFFFF#000000##FFFFFF
##3E14611.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#372739
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3e1461;
/* rgb */ color: rgb(62, 20, 97);
/* oklch */ color: oklch(30.4% 0.128 304.5);
Tailwind
colors: {
  custom: {
    50: '#77568f',
    500: '#3e1461',
    950: '#000000',
  },
}
SCSS
$custom: #3e1461;
$custom-light: #77568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1461",
  "rgb": {
    "r": 62,
    "g": 20,
    "b": 97
  },
  "hsl": {
    "h": 272.727,
    "s": 65.812,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30389,
    "c": 0.12804,
    "h": 304.5
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#3E1461
secondary
#649838
accent
#E93F8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3E1461

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

Preview Lab → · Contrast checker → · Palette generator →

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