#3E279F#3E279F

#3E279F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.181 H 282.7°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3E279F
RGBrgb(62, 39, 159)
HSLhsl(252, 61%, 39%)
HSVhsv(252, 75%, 62%)
CMYKcmyk(61%, 75.5%, 0%, 37.6%)
CIE-LABlab(26.67, 43.70, -61.15)
CIE-LCHlch(26.67, 75.16, 305.55°)
OKLaboklab(38.71% 0.0398 -0.1763)
OKLCHoklch(38.71% 0.181 282.7)
XYZxyz(8.9682, 4.9778, 33.2824)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E279F #889F27
analogous
#274C9F #3E279F #7A279F
triadic
#3E279F #9F3E27 #279F3E
tetradic
#3E279F #9F274C #889F27 #279F7A
square
#3E279F #9F274C #889F27 #279F7A
split-complementary
#3E279F #9F7A27 #4C9F27
monochromatic
#180F3D #2B1B6E #3E279F #5336CE #7D67DA

Accessibility & contrast

On white

10.52
#3E279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E279F
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E279F#FFFFFF#000000##FFFFFF
##3E279F1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e279f;
/* rgb */ color: rgb(62, 39, 159);
/* oklch */ color: oklch(38.7% 0.181 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f64bc',
    500: '#3e279f',
    950: '#000000',
  },
}
SCSS
$custom: #3e279f;
$custom-light: #7f64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e279f",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 251.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.18073,
    "h": 282.7
  },
  "luminance": 0.04978
}

Semantic roles & 50–950 ramp

primary
#3E279F
secondary
#AEC062
accent
#E444C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E279F

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

Preview Lab → · Contrast checker → · Palette generator →

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