#3E259E#3E259E

#3E259E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.182 H 283.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3E259E
RGBrgb(62, 37, 158)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(60.8%, 76.6%, 0%, 38%)
CIE-LABlab(26.20, 44.44, -61.32)
CIE-LCHlch(26.20, 75.73, 305.94°)
OKLaboklab(38.35% 0.0415 -0.1767)
OKLCHoklch(38.35% 0.182 283.2)
XYZxyz(8.8178, 4.8153, 32.8059)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E259E #859E25
analogous
#25489E #3E259E #7A259E
triadic
#3E259E #9E3E25 #259E3E
tetradic
#3E259E #9E2548 #859E25 #259E7A
square
#3E259E #9E2548 #859E25 #259E7A
split-complementary
#3E259E #9E7A25 #489E25
monochromatic
#170E3B #2B196C #3E259E #5231CF #7C63DA

Accessibility & contrast

On white

10.70
#3E259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E259E
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E259E#FFFFFF#000000##FFFFFF
##3E259E1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e259e;
/* rgb */ color: rgb(62, 37, 158);
/* oklch */ color: oklch(38.4% 0.182 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f63bc',
    500: '#3e259e',
    950: '#000000',
  },
}
SCSS
$custom: #3e259e;
$custom-light: #7f63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e259e",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 252.397,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.18155,
    "h": 283.2
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#3E259E
secondary
#ACC05F
accent
#E543C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E259E

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

Preview Lab → · Contrast checker → · Palette generator →

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