#3E25B4#3E25B4

#3E25B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.207 H 279.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3E25B4
RGBrgb(62, 37, 180)
HSLhsl(250, 66%, 43%)
HSVhsv(250, 79%, 71%)
CMYKcmyk(65.6%, 79.4%, 0%, 29.4%)
CIE-LABlab(28.49, 51.03, -70.80)
CIE-LCHlch(28.49, 87.28, 305.78°)
OKLaboklab(40.63% 0.0354 -0.2044)
OKLCHoklch(40.63% 0.207 279.8)
XYZxyz(10.8838, 5.6417, 43.6866)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25B4 #9BB425
analogous
#2553B4 #3E25B4 #8625B4
triadic
#3E25B4 #B43E25 #25B43E
tetradic
#3E25B4 #B42553 #9BB425 #25B486
square
#3E25B4 #B42553 #9BB425 #25B486
split-complementary
#3E25B4 #B48625 #53B425
monochromatic
#1B104E #2D1B81 #3E25B4 #593FD7 #8571E2

Accessibility & contrast

On white

9.87
#3E25B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E25B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25B4
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25B4#FFFFFF#000000##FFFFFF
##3E25B41.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e25b4;
/* rgb */ color: rgb(62, 37, 180);
/* oklch */ color: oklch(40.6% 0.207 279.8);
Tailwind
colors: {
  custom: {
    50: '#8464cc',
    500: '#3e25b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e25b4;
$custom-light: #8464cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25b4",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 250.49,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.20746,
    "h": 279.8
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#3E25B4
secondary
#B9C96C
accent
#E93FCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3E25B4

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

Preview Lab → · Contrast checker → · Palette generator →

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