#3E247E#3E247E

#3E247E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.143 H 290.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#3E247E
RGBrgb(62, 36, 126)
HSLhsl(257, 56%, 32%)
HSVhsv(257, 71%, 49%)
CMYKcmyk(50.8%, 71.4%, 0%, 50.6%)
CIE-LABlab(22.97, 35.25, -46.74)
CIE-LCHlch(22.97, 58.54, 307.02°)
OKLaboklab(35.14% 0.0497 -0.1341)
OKLCHoklch(35.14% 0.143 290.3)
XYZxyz(6.3823, 3.7920, 20.1303)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E247E #647E24
analogous
#24377E #3E247E #6B247E
triadic
#3E247E #7E3E24 #247E3E
tetradic
#3E247E #7E2437 #647E24 #247E6B
square
#3E247E #7E2437 #647E24 #247E6B
split-complementary
#3E247E #7E6B24 #377E24
monochromatic
#0F091F #27164E #3E247E #5532AE #7450CD

Accessibility & contrast

On white

11.94
#3E247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E247E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E247E#FFFFFF#000000##FFFFFF
##3E247E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#293B4E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3e247e;
/* rgb */ color: rgb(62, 36, 126);
/* oklch */ color: oklch(35.1% 0.143 290.3);
Tailwind
colors: {
  custom: {
    50: '#7a61a4',
    500: '#3e247e',
    950: '#000000',
  },
}
SCSS
$custom: #3e247e;
$custom-light: #7a61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e247e",
  "rgb": {
    "r": 62,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 257.333,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35138,
    "c": 0.14297,
    "h": 290.3
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#3E247E
secondary
#94B04E
accent
#DF49B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3E247E

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

Preview Lab → · Contrast checker → · Palette generator →

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