#3E1F73#3E1F73

#3E1F73 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.136 H 294.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#3E1F73
RGBrgb(62, 31, 115)
HSLhsl(262, 58%, 29%)
HSVhsv(262, 73%, 45%)
CMYKcmyk(46.1%, 73%, 0%, 54.9%)
CIE-LABlab(20.99, 34.79, -42.96)
CIE-LCHlch(20.99, 55.28, 309.00°)
OKLaboklab(33.42% 0.057 -0.1229)
OKLCHoklch(33.42% 0.136 294.9)
XYZxyz(5.5703, 3.2418, 16.5486)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1F73 #54731F
analogous
#1F2A73 #3E1F73 #681F73
triadic
#3E1F73 #733E1F #1F733E
tetradic
#3E1F73 #731F2A #54731F #1F7368
square
#3E1F73 #731F2A #54731F #1F7368
split-complementary
#3E1F73 #73681F #2A731F
monochromatic
#0D0618 #241243 #3E1F73 #582CA3 #7441CC

Accessibility & contrast

On white

12.74
#3E1F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3E1F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1F73
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1F73#FFFFFF#000000##FFFFFF
##3E1F731.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#003171
Tritanopia (blue-blind)
#2F3446
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e1f73;
/* rgb */ color: rgb(62, 31, 115);
/* oklch */ color: oklch(33.4% 0.136 294.9);
Tailwind
colors: {
  custom: {
    50: '#795d9c',
    500: '#3e1f73',
    950: '#000000',
  },
}
SCSS
$custom: #3e1f73;
$custom-light: #795d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1f73",
  "rgb": {
    "r": 62,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 262.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33421,
    "c": 0.1355,
    "h": 294.9
  },
  "luminance": 0.03242
}

Semantic roles & 50–950 ramp

primary
#3E1F73
secondary
#83A747
accent
#E147A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3E1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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