#3E27AA#3E27AA

#3E27AA is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.194 H 281.0°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3E27AA
RGBrgb(62, 39, 170)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 77%, 67%)
CMYKcmyk(63.5%, 77.1%, 0%, 33.3%)
CIE-LABlab(27.78, 47.05, -65.98)
CIE-LCHlch(27.78, 81.04, 305.49°)
OKLaboklab(39.83% 0.037 -0.1904)
OKLCHoklch(39.83% 0.194 281)
XYZxyz(9.9655, 5.3767, 38.5351)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27AA #93AA27
analogous
#2752AA #3E27AA #7F27AA
triadic
#3E27AA #AA3E27 #27AA3E
tetradic
#3E27AA #AA2752 #93AA27 #27AA7F
square
#3E27AA #AA2752 #93AA27 #27AA7F
split-complementary
#3E27AA #AA7F27 #52AA27
monochromatic
#1A1046 #2C1C78 #3E27AA #563CD2 #816EDE

Accessibility & contrast

On white

10.12
#3E27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27AA
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27AA#FFFFFF#000000##FFFFFF
##3E27AA1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003DA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e27aa;
/* rgb */ color: rgb(62, 39, 170);
/* oklch */ color: oklch(39.8% 0.194 281.0);
Tailwind
colors: {
  custom: {
    50: '#8265c5',
    500: '#3e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e27aa;
$custom-light: #8265c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27aa",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 250.534,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39828,
    "c": 0.19395,
    "h": 281
  },
  "luminance": 0.05377
}

Semantic roles & 50–950 ramp

primary
#3E27AA
secondary
#B4C469
accent
#E642C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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