#3E25AA#3E25AA

#3E25AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.196 H 281.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3E25AA
RGBrgb(62, 37, 170)
HSLhsl(251, 64%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(63.5%, 78.2%, 0%, 33.3%)
CIE-LABlab(27.43, 48.06, -66.56)
CIE-LCHlch(27.43, 82.10, 305.83°)
OKLaboklab(39.58% 0.0382 -0.1921)
OKLCHoklch(39.58% 0.196 281.2)
XYZxyz(9.9016, 5.2488, 38.5138)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25AA #91AA25
analogous
#254FAA #3E25AA #8025AA
triadic
#3E25AA #AA3E25 #25AA3E
tetradic
#3E25AA #AA254F #91AA25 #25AA80
square
#3E25AA #AA254F #91AA25 #25AA80
split-complementary
#3E25AA #AA8025 #4FAA25
monochromatic
#190F45 #2C1A78 #3E25AA #5638D4 #806BDF

Accessibility & contrast

On white

10.24
#3E25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25AA
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25AA#FFFFFF#000000##FFFFFF
##3E25AA1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e25aa;
/* rgb */ color: rgb(62, 37, 170);
/* oklch */ color: oklch(39.6% 0.196 281.2);
Tailwind
colors: {
  custom: {
    50: '#8264c5',
    500: '#3e25aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e25aa;
$custom-light: #8264c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25aa",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 251.278,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39584,
    "c": 0.19582,
    "h": 281.2
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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