#3E25B5#3E25B5

#3E25B5 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.7% C 0.209 H 279.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3E25B5
RGBrgb(62, 37, 181)
HSLhsl(250, 66%, 43%)
HSVhsv(250, 80%, 71%)
CMYKcmyk(65.7%, 79.6%, 0%, 29%)
CIE-LABlab(28.60, 51.33, -71.22)
CIE-LCHlch(28.60, 87.79, 305.78°)
OKLaboklab(40.74% 0.0351 -0.2056)
OKLCHoklch(40.74% 0.209 279.7)
XYZxyz(10.9860, 5.6826, 44.2250)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25B5 #9CB525
analogous
#2554B5 #3E25B5 #8625B5
triadic
#3E25B5 #B53E25 #25B53E
tetradic
#3E25B5 #B52554 #9CB525 #25B586
square
#3E25B5 #B52554 #9CB525 #25B586
split-complementary
#3E25B5 #B58625 #54B525
monochromatic
#1B104F #2D1B82 #3E25B5 #5A3FD8 #8672E2

Accessibility & contrast

On white

9.83
#3E25B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E25B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25B5
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25B5#FFFFFF#000000##FFFFFF
##3E25B51.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e25b5;
/* rgb */ color: rgb(62, 37, 181);
/* oklch */ color: oklch(40.7% 0.209 279.7);
Tailwind
colors: {
  custom: {
    50: '#8464cd',
    500: '#3e25b5',
    950: '#000000',
  },
}
SCSS
$custom: #3e25b5;
$custom-light: #8464cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25b5",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 250.417,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40741,
    "c": 0.20861,
    "h": 279.7
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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