#3E279A#3E279A

#3E279A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.175 H 283.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#3E279A
RGBrgb(62, 39, 154)
HSLhsl(252, 60%, 38%)
HSVhsv(252, 75%, 60%)
CMYKcmyk(59.7%, 74.7%, 0%, 39.6%)
CIE-LABlab(26.18, 42.16, -58.91)
CIE-LCHlch(26.18, 72.44, 305.59°)
OKLaboklab(38.22% 0.041 -0.1697)
OKLCHoklch(38.22% 0.175 283.6)
XYZxyz(8.5431, 4.8077, 31.0434)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E279A #839A27
analogous
#27499A #3E279A #77279A
triadic
#3E279A #9A3E27 #279A3E
tetradic
#3E279A #9A2749 #839A27 #279A77
square
#3E279A #9A2749 #839A27 #279A77
split-complementary
#3E279A #9A7727 #499A27
monochromatic
#170E38 #2A1B69 #3E279A #5233CB #7B64D8

Accessibility & contrast

On white

10.71
#3E279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E279A
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E279A#FFFFFF#000000##FFFFFF
##3E279A1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#04475E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e279a;
/* rgb */ color: rgb(62, 39, 154);
/* oklch */ color: oklch(38.2% 0.175 283.6);
Tailwind
colors: {
  custom: {
    50: '#7e64b9',
    500: '#3e279a',
    950: '#000000',
  },
}
SCSS
$custom: #3e279a;
$custom-light: #7e64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e279a",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 252,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38218,
    "c": 0.17462,
    "h": 283.6
  },
  "luminance": 0.04808
}

Semantic roles & 50–950 ramp

primary
#3E279A
secondary
#ABBD5F
accent
#E345C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E279A

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

Preview Lab → · Contrast checker → · Palette generator →

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