#3E249D#3E249D

#3E249D is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.181 H 283.5°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3E249D
RGBrgb(62, 36, 157)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 62%)
CMYKcmyk(60.5%, 77.1%, 0%, 38.4%)
CIE-LABlab(25.92, 44.66, -61.17)
CIE-LCHlch(25.92, 75.74, 306.13°)
OKLaboklab(38.13% 0.0424 -0.1763)
OKLCHoklch(38.13% 0.181 283.5)
XYZxyz(8.7014, 4.7196, 32.3442)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249D #839D24
analogous
#24469D #3E249D #7B249D
triadic
#3E249D #9D3E24 #249D3E
tetradic
#3E249D #9D2446 #839D24 #249D7B
square
#3E249D #9D2446 #839D24 #249D7B
split-complementary
#3E249D #9D7B24 #469D24
monochromatic
#170D39 #2A196B #3E249D #522FCF #7B61DB

Accessibility & contrast

On white

10.80
#3E249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E249D
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249D#FFFFFF#000000##FFFFFF
##3E249D1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e249d;
/* rgb */ color: rgb(62, 36, 157);
/* oklch */ color: oklch(38.1% 0.181 283.5);
Tailwind
colors: {
  custom: {
    50: '#7f62bb',
    500: '#3e249d',
    950: '#000000',
  },
}
SCSS
$custom: #3e249d;
$custom-light: #7f62bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249d",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 252.893,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38126,
    "c": 0.18135,
    "h": 283.5
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#3E249D
secondary
#ABC05D
accent
#E642C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E249D

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

Preview Lab → · Contrast checker → · Palette generator →

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