#3E25B2#3E25B2

#3E25B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.4% C 0.205 H 280.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3E25B2
RGBrgb(62, 37, 178)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(65.2%, 79.2%, 0%, 30.2%)
CIE-LABlab(28.28, 50.44, -69.96)
CIE-LCHlch(28.28, 86.25, 305.79°)
OKLaboklab(40.42% 0.0359 -0.202)
OKLCHoklch(40.42% 0.205 280.1)
XYZxyz(10.6815, 5.5608, 42.6213)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25B2 #99B225
analogous
#2553B2 #3E25B2 #8425B2
triadic
#3E25B2 #B23E25 #25B23E
tetradic
#3E25B2 #B22553 #99B225 #25B284
square
#3E25B2 #B22553 #99B225 #25B284
split-complementary
#3E25B2 #B28425 #53B225
monochromatic
#1B104D #2C1A7F #3E25B2 #593DD7 #8470E1

Accessibility & contrast

On white

9.94
#3E25B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E25B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25B2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25B2#FFFFFF#000000##FFFFFF
##3E25B21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e25b2;
/* rgb */ color: rgb(62, 37, 178);
/* oklch */ color: oklch(40.4% 0.205 280.1);
Tailwind
colors: {
  custom: {
    50: '#8364ca',
    500: '#3e25b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e25b2;
$custom-light: #8364ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25b2",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 250.638,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.20515,
    "h": 280.1
  },
  "luminance": 0.05562
}

Semantic roles & 50–950 ramp

primary
#3E25B2
secondary
#B8C86B
accent
#E93FCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E25B2

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

Preview Lab → · Contrast checker → · Palette generator →

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