#3E248D#3E248D

#3E248D is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.162 H 286.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#3E248D
RGBrgb(62, 36, 141)
HSLhsl(255, 59%, 35%)
HSVhsv(255, 74%, 55%)
CMYKcmyk(56%, 74.5%, 0%, 44.7%)
CIE-LABlab(24.35, 39.81, -53.90)
CIE-LCHlch(24.35, 67.01, 306.45°)
OKLaboklab(36.54% 0.0465 -0.155)
OKLCHoklch(36.54% 0.162 286.7)
XYZxyz(7.4238, 4.2086, 25.6153)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E248D #738D24
analogous
#243F8D #3E248D #73248D
triadic
#3E248D #8D3E24 #248D3E
tetradic
#3E248D #8D243F #738D24 #248D73
square
#3E248D #8D243F #738D24 #248D73
split-complementary
#3E248D #8D7324 #3F8D24
monochromatic
#130B2B #29185C #3E248D #5330BE #7657D4

Accessibility & contrast

On white

11.40
#3E248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E248D
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E248D#FFFFFF#000000##FFFFFF
##3E248D1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#1C4056
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e248d;
/* rgb */ color: rgb(62, 36, 141);
/* oklch */ color: oklch(36.5% 0.162 286.7);
Tailwind
colors: {
  custom: {
    50: '#7c61af',
    500: '#3e248d',
    950: '#000000',
  },
}
SCSS
$custom: #3e248d;
$custom-light: #7c61af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e248d",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 254.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36542,
    "c": 0.16187,
    "h": 286.7
  },
  "luminance": 0.04209
}

Semantic roles & 50–950 ramp

primary
#3E248D
secondary
#A0B854
accent
#E345BC
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3E248D

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

Preview Lab → · Contrast checker → · Palette generator →

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