#3E279C#3E279C

#3E279C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.177 H 283.2°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#3E279C
RGBrgb(62, 39, 156)
HSLhsl(252, 60%, 38%)
HSVhsv(252, 75%, 61%)
CMYKcmyk(60.3%, 75%, 0%, 38.8%)
CIE-LABlab(26.38, 42.78, -59.81)
CIE-LCHlch(26.38, 73.53, 305.57°)
OKLaboklab(38.42% 0.0405 -0.1724)
OKLCHoklch(38.42% 0.177 283.2)
XYZxyz(8.7110, 4.8749, 31.9280)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E279C #859C27
analogous
#274A9C #3E279C #78279C
triadic
#3E279C #9C3E27 #279C3E
tetradic
#3E279C #9C274A #859C27 #279C78
square
#3E279C #9C274A #859C27 #279C78
split-complementary
#3E279C #9C7827 #4A9C27
monochromatic
#170F3A #2B1B6B #3E279C #5234CC #7C65D8

Accessibility & contrast

On white

10.63
#3E279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E279C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E279C#FFFFFF#000000##FFFFFF
##3E279C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e279c;
/* rgb */ color: rgb(62, 39, 156);
/* oklch */ color: oklch(38.4% 0.177 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f64ba',
    500: '#3e279c',
    950: '#000000',
  },
}
SCSS
$custom: #3e279c;
$custom-light: #7f64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e279c",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 251.795,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38416,
    "c": 0.17707,
    "h": 283.2
  },
  "luminance": 0.04875
}

Semantic roles & 50–950 ramp

primary
#3E279C
secondary
#ACBE61
accent
#E345C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E279C

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

Preview Lab → · Contrast checker → · Palette generator →

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