#3E259A#3E259A

#3E259A is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.177 H 283.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3E259A
RGBrgb(62, 37, 154)
HSLhsl(253, 61%, 37%)
HSVhsv(253, 76%, 60%)
CMYKcmyk(59.7%, 76%, 0%, 39.6%)
CIE-LABlab(25.80, 43.23, -59.53)
CIE-LCHlch(25.80, 73.57, 305.99°)
OKLaboklab(37.95% 0.0425 -0.1715)
OKLCHoklch(37.95% 0.177 283.9)
XYZxyz(8.4791, 4.6798, 31.0221)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E259A #819A25
analogous
#25469A #3E259A #79259A
triadic
#3E259A #9A3E25 #259A3E
tetradic
#3E259A #9A2546 #819A25 #259A79
square
#3E259A #9A2546 #819A25 #259A79
split-complementary
#3E259A #9A7925 #469A25
monochromatic
#160D37 #2A1969 #3E259A #5231CB #7A60D9

Accessibility & contrast

On white

10.85
#3E259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E259A
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E259A#FFFFFF#000000##FFFFFF
##3E259A1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#04465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e259a;
/* rgb */ color: rgb(62, 37, 154);
/* oklch */ color: oklch(38.0% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#7f63b9',
    500: '#3e259a',
    950: '#000000',
  },
}
SCSS
$custom: #3e259a;
$custom-light: #7f63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e259a",
  "rgb": {
    "r": 62,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 252.821,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37952,
    "c": 0.17672,
    "h": 283.9
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#3E259A
secondary
#A9BE5D
accent
#E443C2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E259A

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

Preview Lab → · Contrast checker → · Palette generator →

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