#3E25A4#3E25A4

#3E25A4 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.189 H 282.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3E25A4
RGBrgb(62, 37, 164)
HSLhsl(252, 63%, 39%)
HSVhsv(252, 77%, 64%)
CMYKcmyk(62.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(26.81, 46.26, -63.96)
CIE-LCHlch(26.81, 78.93, 305.87°)
OKLaboklab(38.96% 0.0399 -0.1845)
OKLCHoklch(38.96% 0.189 282.2)
XYZxyz(9.3469, 5.0269, 35.5925)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25A4 #8BA425
analogous
#254CA4 #3E25A4 #7E25A4
triadic
#3E25A4 #A43E25 #25A43E
tetradic
#3E25A4 #A4254C #8BA425 #25A47E
square
#3E25A4 #A4254C #8BA425 #25A47E
split-complementary
#3E25A4 #A47E25 #4CA425
monochromatic
#180E40 #2B1A72 #3E25A4 #5435D1 #7E67DD

Accessibility & contrast

On white

10.47
#3E25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25A4
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25A4#FFFFFF#000000##FFFFFF
##3E25A41.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e25a4;
/* rgb */ color: rgb(62, 37, 164);
/* oklch */ color: oklch(39.0% 0.189 282.2);
Tailwind
colors: {
  custom: {
    50: '#8163c0',
    500: '#3e25a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e25a4;
$custom-light: #8163c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25a4",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 251.811,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38964,
    "c": 0.18873,
    "h": 282.2
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

primary
#3E25A4
secondary
#B0C262
accent
#E642C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3E25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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