#3E27AF#3E27AF

#3E27AF is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.200 H 280.3°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3E27AF
RGBrgb(62, 39, 175)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(64.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(28.30, 48.57, -68.13)
CIE-LCHlch(28.30, 83.67, 305.48°)
OKLaboklab(40.35% 0.0357 -0.1967)
OKLCHoklch(40.35% 0.2 280.3)
XYZxyz(10.4475, 5.5695, 41.0736)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E27AF #98AF27
analogous
#2754AF #3E27AF #8227AF
triadic
#3E27AF #AF3E27 #27AF3E
tetradic
#3E27AF #AF2754 #98AF27 #27AF82
square
#3E27AF #AF2754 #98AF27 #27AF82
split-complementary
#3E27AF #AF8227 #54AF27
monochromatic
#1B114B #2C1C7D #3E27AF #583FD4 #8471DF

Accessibility & contrast

On white

9.93
#3E27AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E27AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E27AF
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E27AF#FFFFFF#000000##FFFFFF
##3E27AF1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e27af;
/* rgb */ color: rgb(62, 39, 175);
/* oklch */ color: oklch(40.3% 0.200 280.3);
Tailwind
colors: {
  custom: {
    50: '#8365c8',
    500: '#3e27af',
    950: '#000000',
  },
}
SCSS
$custom: #3e27af;
$custom-light: #8365c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e27af",
  "rgb": {
    "r": 62,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 250.147,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.19987,
    "h": 280.3
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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