#3E27B1#3E27B1

#3E27B1 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.202 H 280.0°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3E27B1
RGBrgb(62, 39, 177)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(65%, 78%, 0%, 30.6%)
CIE-LABlab(28.51, 49.17, -68.98)
CIE-LCHlch(28.51, 84.71, 305.48°)
OKLaboklab(40.55% 0.0351 -0.1991)
OKLCHoklch(40.55% 0.202 280)
XYZxyz(10.6454, 5.6487, 42.1158)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27B1 #9AB127
analogous
#2755B1 #3E27B1 #8327B1
triadic
#3E27B1 #B13E27 #27B13E
tetradic
#3E27B1 #B12755 #9AB127 #27B183
square
#3E27B1 #B12755 #9AB127 #27B183
split-complementary
#3E27B1 #B18327 #55B127
monochromatic
#1B114D #2C1C7F #3E27B1 #5940D5 #8572E0

Accessibility & contrast

On white

9.86
#3E27B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E27B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27B1
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27B1#FFFFFF#000000##FFFFFF
##3E27B11.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e27b1;
/* rgb */ color: rgb(62, 39, 177);
/* oklch */ color: oklch(40.6% 0.202 280.0);
Tailwind
colors: {
  custom: {
    50: '#8365ca',
    500: '#3e27b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e27b1;
$custom-light: #8365ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27b1",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 177
  },
  "hsl": {
    "h": 250,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40553,
    "c": 0.20221,
    "h": 280
  },
  "luminance": 0.05649
}

Semantic roles & 50–950 ramp

primary
#3E27B1
secondary
#B8C76D
accent
#E741CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E27B1

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

Preview Lab → · Contrast checker → · Palette generator →

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