#3E249A#3E249A

#3E249A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.178 H 284.1°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3E249A
RGBrgb(62, 36, 154)
HSLhsl(253, 62%, 37%)
HSVhsv(253, 77%, 60%)
CMYKcmyk(59.7%, 76.6%, 0%, 39.6%)
CIE-LABlab(25.62, 43.75, -59.83)
CIE-LCHlch(25.62, 74.12, 306.18°)
OKLaboklab(37.82% 0.0432 -0.1724)
OKLCHoklch(37.82% 0.178 284.1)
XYZxyz(8.4484, 4.6184, 31.0118)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E249A #809A24
analogous
#24459A #3E249A #79249A
triadic
#3E249A #9A3E24 #249A3E
tetradic
#3E249A #9A2445 #809A24 #249A79
square
#3E249A #9A2445 #809A24 #249A79
split-complementary
#3E249A #9A7924 #459A24
monochromatic
#160D37 #2A1868 #3E249A #5230CC #7A5FDA

Accessibility & contrast

On white

10.92
#3E249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E249A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E249A#FFFFFF#000000##FFFFFF
##3E249A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#04455D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e249a;
/* rgb */ color: rgb(62, 36, 154);
/* oklch */ color: oklch(37.8% 0.178 284.1);
Tailwind
colors: {
  custom: {
    50: '#7f62b9',
    500: '#3e249a',
    950: '#000000',
  },
}
SCSS
$custom: #3e249a;
$custom-light: #7f62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e249a",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 253.22,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37823,
    "c": 0.17775,
    "h": 284.1
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#3E249A
secondary
#A9BF5B
accent
#E543C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E249A

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

Preview Lab → · Contrast checker → · Palette generator →

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