#3E25B3#3E25B3

#3E25B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.206 H 279.9°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3E25B3
RGBrgb(62, 37, 179)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 79%, 70%)
CMYKcmyk(65.4%, 79.3%, 0%, 29.8%)
CIE-LABlab(28.38, 50.74, -70.39)
CIE-LCHlch(28.38, 86.77, 305.79°)
OKLaboklab(40.53% 0.0356 -0.2032)
OKLCHoklch(40.53% 0.206 279.9)
XYZxyz(10.7823, 5.6011, 43.1520)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E25B3 #9AB325
analogous
#2553B3 #3E25B3 #8525B3
triadic
#3E25B3 #B33E25 #25B33E
tetradic
#3E25B3 #B32553 #9AB325 #25B385
square
#3E25B3 #B32553 #9AB325 #25B385
split-complementary
#3E25B3 #B38525 #53B325
monochromatic
#1B104E #2C1B80 #3E25B3 #593ED7 #8571E2

Accessibility & contrast

On white

9.90
#3E25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E25B3
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E25B3#FFFFFF#000000##FFFFFF
##3E25B31.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e25b3;
/* rgb */ color: rgb(62, 37, 179);
/* oklch */ color: oklch(40.5% 0.206 279.9);
Tailwind
colors: {
  custom: {
    50: '#8364cb',
    500: '#3e25b3',
    950: '#000000',
  },
}
SCSS
$custom: #3e25b3;
$custom-light: #8364cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e25b3",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 250.563,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40528,
    "c": 0.2063,
    "h": 279.9
  },
  "luminance": 0.05602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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