#3E2575#3E2575

#3E2575 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.130 H 292.7°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#3E2575
RGBrgb(62, 37, 117)
HSLhsl(259, 52%, 30%)
HSVhsv(259, 68%, 46%)
CMYKcmyk(47%, 68.4%, 0%, 54.1%)
CIE-LABlab(22.41, 31.93, -41.92)
CIE-LCHlch(22.41, 52.70, 307.29°)
OKLaboklab(34.5% 0.05 -0.1199)
OKLCHoklch(34.5% 0.13 292.7)
XYZxyz(5.8582, 3.6314, 17.2185)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2575 #5C7525
analogous
#253475 #3E2575 #662575
triadic
#3E2575 #753E25 #25753E
tetradic
#3E2575 #752534 #5C7525 #257566
square
#3E2575 #752534 #5C7525 #257566
split-complementary
#3E2575 #756625 #347525
monochromatic
#0D0818 #251647 #3E2575 #5734A3 #734EC7

Accessibility & contrast

On white

12.16
#3E2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3E2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2575
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2575#FFFFFF#000000##FFFFFF
##3E25751.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#2E3849
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e2575;
/* rgb */ color: rgb(62, 37, 117);
/* oklch */ color: oklch(34.5% 0.130 292.7);
Tailwind
colors: {
  custom: {
    50: '#78619d',
    500: '#3e2575',
    950: '#000000',
  },
}
SCSS
$custom: #3e2575;
$custom-light: #78619d;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2575",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 258.75,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34497,
    "c": 0.12991,
    "h": 292.7
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#3E2575
secondary
#8CA84E
accent
#DB4CAF
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3E2575

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

Preview Lab → · Contrast checker → · Palette generator →

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