#3E247F#3E247F

#3E247F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.144 H 290.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#3E247F
RGBrgb(62, 36, 127)
HSLhsl(257, 56%, 32%)
HSVhsv(257, 72%, 50%)
CMYKcmyk(51.2%, 71.7%, 0%, 50.2%)
CIE-LABlab(23.06, 35.55, -47.23)
CIE-LCHlch(23.06, 59.12, 306.97°)
OKLaboklab(35.23% 0.0495 -0.1355)
OKLCHoklch(35.23% 0.144 290.1)
XYZxyz(6.4472, 3.8179, 20.4718)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E247F #657F24
analogous
#24387F #3E247F #6C247F
triadic
#3E247F #7F3E24 #247F3E
tetradic
#3E247F #7F2438 #657F24 #247F6C
square
#3E247F #7F2438 #657F24 #247F6C
split-complementary
#3E247F #7F6C24 #387F24
monochromatic
#0F0920 #27164F #3E247F #5532AF #7450CD

Accessibility & contrast

On white

11.91
#3E247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3E247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E247F
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E247F#FFFFFF#000000##FFFFFF
##3E247F1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#283B4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e247f;
/* rgb */ color: rgb(62, 36, 127);
/* oklch */ color: oklch(35.2% 0.144 290.1);
Tailwind
colors: {
  custom: {
    50: '#7a61a5',
    500: '#3e247f',
    950: '#000000',
  },
}
SCSS
$custom: #3e247f;
$custom-light: #7a61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e247f",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 257.143,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35229,
    "c": 0.14425,
    "h": 290.1
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#3E247F
secondary
#95B14E
accent
#DF49B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E247F

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

Preview Lab → · Contrast checker → · Palette generator →

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