#3E27B0#3E27B0

#3E27B0 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.4% C 0.201 H 280.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3E27B0
RGBrgb(62, 39, 176)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(64.8%, 77.8%, 0%, 31%)
CIE-LABlab(28.40, 48.87, -68.56)
CIE-LCHlch(28.40, 84.19, 305.48°)
OKLaboklab(40.45% 0.0354 -0.1979)
OKLCHoklch(40.45% 0.201 280.1)
XYZxyz(10.5461, 5.6089, 41.5928)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27B0 #99B027
analogous
#2755B0 #3E27B0 #8327B0
triadic
#3E27B0 #B03E27 #27B03E
tetradic
#3E27B0 #B02755 #99B027 #27B083
square
#3E27B0 #B02755 #99B027 #27B083
split-complementary
#3E27B0 #B08327 #55B027
monochromatic
#1B114C #2C1C7E #3E27B0 #5940D5 #8472E0

Accessibility & contrast

On white

9.90
#3E27B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E27B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27B0
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27B0#FFFFFF#000000##FFFFFF
##3E27B01.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003EAE
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e27b0;
/* rgb */ color: rgb(62, 39, 176);
/* oklch */ color: oklch(40.4% 0.201 280.1);
Tailwind
colors: {
  custom: {
    50: '#8365c9',
    500: '#3e27b0',
    950: '#000000',
  },
}
SCSS
$custom: #3e27b0;
$custom-light: #8365c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27b0",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 176
  },
  "hsl": {
    "h": 250.073,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.20104,
    "h": 280.1
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#3E27B0
secondary
#B8C76C
accent
#E741CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E27B0

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

Preview Lab → · Contrast checker → · Palette generator →

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