#3E28AC#3E28AC

#3E28AC is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.195 H 280.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#3E28AC
RGBrgb(62, 40, 172)
HSLhsl(250, 62%, 42%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64%, 76.7%, 0%, 32.5%)
CIE-LABlab(28.17, 47.15, -66.55)
CIE-LCHlch(28.17, 81.56, 305.32°)
OKLaboklab(40.16% 0.0359 -0.1921)
OKLCHoklch(40.16% 0.195 280.6)
XYZxyz(10.1894, 5.5195, 39.5501)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28AC #96AC28
analogous
#2854AC #3E28AC #8028AC
triadic
#3E28AC #AC3E28 #28AC3E
tetradic
#3E28AC #AC2854 #96AC28 #28AC80
square
#3E28AC #AC2854 #96AC28 #28AC80
split-complementary
#3E28AC #AC8028 #54AC28
monochromatic
#1A1149 #2C1C7A #3E28AC #573FD2 #8371DE

Accessibility & contrast

On white

9.98
#3E28AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E28AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E28AC
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28AC#FFFFFF#000000##FFFFFF
##3E28AC1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e28ac;
/* rgb */ color: rgb(62, 40, 172);
/* oklch */ color: oklch(40.2% 0.195 280.6);
Tailwind
colors: {
  custom: {
    50: '#8265c6',
    500: '#3e28ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e28ac;
$custom-light: #8265c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28ac",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 250,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.19538,
    "h": 280.6
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#3E28AC
secondary
#B6C56B
accent
#E542CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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