#3E1259#3E1259

#3E1259 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.122 H 308.9°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#3E1259
RGBrgb(62, 18, 89)
HSLhsl(277, 66%, 21%)
HSVhsv(277, 80%, 35%)
CMYKcmyk(30.3%, 79.8%, 0%, 65.1%)
CIE-LABlab(16.40, 34.36, -33.34)
CIE-LCHlch(16.40, 47.88, 315.87°)
OKLaboklab(29.46% 0.0764 -0.0946)
OKLCHoklch(29.46% 0.122 308.9)
XYZxyz(4.0057, 2.1781, 9.6586)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1259 #2D5912
analogous
#1A1259 #3E1259 #591250
triadic
#3E1259 #593E12 #12593E
tetradic
#3E1259 #591A12 #2D5912 #125059
square
#3E1259 #591A12 #2D5912 #125059
split-complementary
#3E1259 #505912 #12591A
monochromatic
#120519 #1B0826 #3E1259 #611C8C #8527BF

Accessibility & contrast

On white

14.63
#3E1259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3E1259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1259
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1259#FFFFFF#000000##FFFFFF
##3E12591.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3A2334
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3e1259;
/* rgb */ color: rgb(62, 18, 89);
/* oklch */ color: oklch(29.5% 0.122 308.9);
Tailwind
colors: {
  custom: {
    50: '#775588',
    500: '#3e1259',
    950: '#000000',
  },
}
SCSS
$custom: #3e1259;
$custom-light: #775588;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1259",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 277.183,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29464,
    "c": 0.1216,
    "h": 308.9
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#3E1259
secondary
#589235
accent
#E93F7F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1259

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

Preview Lab → · Contrast checker → · Palette generator →

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