#3E247D#3E247D

#3E247D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.142 H 290.6°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#3E247D
RGBrgb(62, 36, 125)
HSLhsl(258, 55%, 32%)
HSVhsv(258, 71%, 49%)
CMYKcmyk(50.4%, 71.2%, 0%, 51%)
CIE-LABlab(22.88, 34.94, -46.25)
CIE-LCHlch(22.88, 57.97, 307.07°)
OKLaboklab(35.05% 0.0499 -0.1326)
OKLCHoklch(35.05% 0.142 290.6)
XYZxyz(6.3181, 3.7663, 19.7921)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E247D #637D24
analogous
#24377D #3E247D #6B247D
triadic
#3E247D #7D3E24 #247D3E
tetradic
#3E247D #7D2437 #637D24 #247D6B
square
#3E247D #7D2437 #637D24 #247D6B
split-complementary
#3E247D #7D6B24 #377D24
monochromatic
#0F091E #26164D #3E247D #5632AD #744FCC

Accessibility & contrast

On white

11.98
#3E247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3E247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E247D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E247D#FFFFFF#000000##FFFFFF
##3E247D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#293A4D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e247d;
/* rgb */ color: rgb(62, 36, 125);
/* oklch */ color: oklch(35.0% 0.142 290.6);
Tailwind
colors: {
  custom: {
    50: '#7a61a3',
    500: '#3e247d',
    950: '#000000',
  },
}
SCSS
$custom: #3e247d;
$custom-light: #7a61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e247d",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 257.528,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35048,
    "c": 0.14169,
    "h": 290.6
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#3E247D
secondary
#93AF4D
accent
#DF49B3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E247D

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

Preview Lab → · Contrast checker → · Palette generator →

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