#3E2573#3E2573

#3E2573 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.3% C 0.127 H 293.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#3E2573
RGBrgb(62, 37, 115)
HSLhsl(259, 51%, 30%)
HSVhsv(259, 68%, 45%)
CMYKcmyk(46.1%, 67.8%, 0%, 54.9%)
CIE-LABlab(22.25, 31.32, -40.91)
CIE-LCHlch(22.25, 51.52, 307.44°)
OKLaboklab(34.33% 0.0503 -0.1169)
OKLCHoklch(34.33% 0.127 293.3)
XYZxyz(5.7418, 3.5849, 16.6058)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2573 #5A7325
analogous
#253373 #3E2573 #652573
triadic
#3E2573 #733E25 #25733E
tetradic
#3E2573 #732533 #5A7325 #257365
square
#3E2573 #732533 #5A7325 #257365
split-complementary
#3E2573 #736525 #337325
monochromatic
#0C0717 #251645 #3E2573 #5734A1 #744DC6

Accessibility & contrast

On white

12.23
#3E2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3E2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2573
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2573#FFFFFF#000000##FFFFFF
##3E25731.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#2F3748
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3e2573;
/* rgb */ color: rgb(62, 37, 115);
/* oklch */ color: oklch(34.3% 0.127 293.3);
Tailwind
colors: {
  custom: {
    50: '#78619c',
    500: '#3e2573',
    950: '#000000',
  },
}
SCSS
$custom: #3e2573;
$custom-light: #78619c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2573",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 259.231,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34326,
    "c": 0.12726,
    "h": 293.3
  },
  "luminance": 0.03585
}

Semantic roles & 50–950 ramp

primary
#3E2573
secondary
#8AA64E
accent
#DB4DAD
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2573

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

Preview Lab → · Contrast checker → · Palette generator →

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