#3E247B#3E247B

#3E247B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.139 H 291.2°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3E247B
RGBrgb(62, 36, 123)
HSLhsl(258, 55%, 31%)
HSVhsv(258, 71%, 48%)
CMYKcmyk(49.6%, 70.7%, 0%, 51.8%)
CIE-LABlab(22.71, 34.34, -45.27)
CIE-LCHlch(22.71, 56.82, 307.18°)
OKLaboklab(34.87% 0.0502 -0.1297)
OKLCHoklch(34.87% 0.139 291.2)
XYZxyz(6.1916, 3.7157, 19.1260)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E247B #617B24
analogous
#24357B #3E247B #69247B
triadic
#3E247B #7B3E24 #247B3E
tetradic
#3E247B #7B2435 #617B24 #247B69
square
#3E247B #7B2435 #617B24 #247B69
split-complementary
#3E247B #7B6924 #357B24
monochromatic
#0E081C #26164C #3E247B #5632AA #744ECB

Accessibility & contrast

On white

12.05
#3E247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3E247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E247B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E247B#FFFFFF#000000##FFFFFF
##3E247B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#2B3A4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3e247b;
/* rgb */ color: rgb(62, 36, 123);
/* oklch */ color: oklch(34.9% 0.139 291.2);
Tailwind
colors: {
  custom: {
    50: '#7961a2',
    500: '#3e247b',
    950: '#000000',
  },
}
SCSS
$custom: #3e247b;
$custom-light: #7961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e247b",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 257.931,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34868,
    "c": 0.13911,
    "h": 291.2
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#3E247B
secondary
#91AD4D
accent
#DE4AB2
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E247B

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

Preview Lab → · Contrast checker → · Palette generator →

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