#3E25A3#3E25A3

#3E25A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.188 H 282.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3E25A3
RGBrgb(62, 37, 163)
HSLhsl(252, 63%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(62%, 77.3%, 0%, 36.1%)
CIE-LABlab(26.71, 45.95, -63.52)
CIE-LCHlch(26.71, 78.40, 305.88°)
OKLaboklab(38.86% 0.0401 -0.1832)
OKLCHoklch(38.86% 0.188 282.4)
XYZxyz(9.2570, 4.9910, 35.1188)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25A3 #8AA325
analogous
#254BA3 #3E25A3 #7D25A3
triadic
#3E25A3 #A33E25 #25A33E
tetradic
#3E25A3 #A3254B #8AA325 #25A37D
square
#3E25A3 #A3254B #8AA325 #25A37D
split-complementary
#3E25A3 #A37D25 #4BA325
monochromatic
#180E3F #2B1A71 #3E25A3 #5334D1 #7E66DC

Accessibility & contrast

On white

10.51
#3E25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25A3
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25A3#FFFFFF#000000##FFFFFF
##3E25A31.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e25a3;
/* rgb */ color: rgb(62, 37, 163);
/* oklch */ color: oklch(38.9% 0.188 282.4);
Tailwind
colors: {
  custom: {
    50: '#8063bf',
    500: '#3e25a3',
    950: '#000000',
  },
}
SCSS
$custom: #3e25a3;
$custom-light: #8063bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25a3",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 251.905,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.18753,
    "h": 282.4
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#3E25A3
secondary
#AFC262
accent
#E642C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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