#3E25A9#3E25A9

#3E25A9 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.195 H 281.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#3E25A9
RGBrgb(62, 37, 169)
HSLhsl(251, 64%, 40%)
HSVhsv(251, 78%, 66%)
CMYKcmyk(63.3%, 78.1%, 0%, 33.7%)
CIE-LABlab(27.33, 47.76, -66.13)
CIE-LCHlch(27.33, 81.57, 305.84°)
OKLaboklab(39.48% 0.0385 -0.1908)
OKLCHoklch(39.48% 0.195 281.4)
XYZxyz(9.8074, 5.2111, 38.0175)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25A9 #90A925
analogous
#254EA9 #3E25A9 #8025A9
triadic
#3E25A9 #A93E25 #25A93E
tetradic
#3E25A9 #A9254E #90A925 #25A980
square
#3E25A9 #A9254E #90A925 #25A980
split-complementary
#3E25A9 #A98025 #4EA925
monochromatic
#190F45 #2C1A77 #3E25A9 #5538D3 #806ADE

Accessibility & contrast

On white

10.28
#3E25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25A9
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25A9#FFFFFF#000000##FFFFFF
##3E25A91.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e25a9;
/* rgb */ color: rgb(62, 37, 169);
/* oklch */ color: oklch(39.5% 0.195 281.4);
Tailwind
colors: {
  custom: {
    50: '#8163c4',
    500: '#3e25a9',
    950: '#000000',
  },
}
SCSS
$custom: #3e25a9;
$custom-light: #8163c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25a9",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 251.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.19464,
    "h": 281.4
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#3E25A9
secondary
#B2C465
accent
#E741C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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