#3E25B1#3E25B1

#3E25B1 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.204 H 280.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3E25B1
RGBrgb(62, 37, 177)
HSLhsl(251, 65%, 42%)
HSVhsv(251, 79%, 69%)
CMYKcmyk(65%, 79.1%, 0%, 30.6%)
CIE-LABlab(28.17, 50.15, -69.54)
CIE-LCHlch(28.17, 85.74, 305.79°)
OKLaboklab(40.32% 0.0362 -0.2008)
OKLCHoklch(40.32% 0.204 280.2)
XYZxyz(10.5815, 5.5208, 42.0944)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25B1 #98B125
analogous
#2552B1 #3E25B1 #8425B1
triadic
#3E25B1 #B13E25 #25B13E
tetradic
#3E25B1 #B12552 #98B125 #25B184
square
#3E25B1 #B12552 #98B125 #25B184
split-complementary
#3E25B1 #B18425 #52B125
monochromatic
#1B104C #2C1A7E #3E25B1 #583DD6 #846FE1

Accessibility & contrast

On white

9.98
#3E25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25B1
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25B1#FFFFFF#000000##FFFFFF
##3E25B11.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e25b1;
/* rgb */ color: rgb(62, 37, 177);
/* oklch */ color: oklch(40.3% 0.204 280.2);
Tailwind
colors: {
  custom: {
    50: '#8364ca',
    500: '#3e25b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e25b1;
$custom-light: #8364ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25b1",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 250.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40317,
    "c": 0.20399,
    "h": 280.2
  },
  "luminance": 0.05522
}

Semantic roles & 50–950 ramp

primary
#3E25B1
secondary
#B7C86A
accent
#E83FCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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