#3E259F#3E259F

#3E259F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.183 H 283.0°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3E259F
RGBrgb(62, 37, 159)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(61%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.30, 44.75, -61.76)
CIE-LCHlch(26.30, 76.27, 305.92°)
OKLaboklab(38.46% 0.0412 -0.1781)
OKLCHoklch(38.46% 0.183 283)
XYZxyz(8.9042, 4.8499, 33.2611)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E259F #869F25
analogous
#25499F #3E259F #7B259F
triadic
#3E259F #9F3E25 #259F3E
tetradic
#3E259F #9F2549 #869F25 #259F7B
square
#3E259F #9F2549 #869F25 #259F7B
split-complementary
#3E259F #9F7B25 #499F25
monochromatic
#170E3C #2B196D #3E259F #5232CF #7C64DB

Accessibility & contrast

On white

10.66
#3E259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E259F
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E259F#FFFFFF#000000##FFFFFF
##3E259F1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e259f;
/* rgb */ color: rgb(62, 37, 159);
/* oklch */ color: oklch(38.5% 0.183 283.0);
Tailwind
colors: {
  custom: {
    50: '#8063bd',
    500: '#3e259f',
    950: '#000000',
  },
}
SCSS
$custom: #3e259f;
$custom-light: #8063bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e259f",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 252.295,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38455,
    "c": 0.18276,
    "h": 283
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#3E259F
secondary
#ACC05F
accent
#E542C4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E259F

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

Preview Lab → · Contrast checker → · Palette generator →

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