#3E28AB#3E28AB

#3E28AB is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.194 H 280.7°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#3E28AB
RGBrgb(62, 40, 171)
HSLhsl(250, 62%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(63.7%, 76.6%, 0%, 32.9%)
CIE-LABlab(28.06, 46.85, -66.12)
CIE-LCHlch(28.06, 81.03, 305.32°)
OKLaboklab(40.06% 0.0361 -0.1908)
OKLCHoklch(40.06% 0.194 280.7)
XYZxyz(10.0938, 5.4812, 39.0463)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E28AB #95AB28
analogous
#2854AB #3E28AB #8028AB
triadic
#3E28AB #AB3E28 #28AB3E
tetradic
#3E28AB #AB2854 #95AB28 #28AB80
square
#3E28AB #AB2854 #95AB28 #28AB80
split-complementary
#3E28AB #AB8028 #54AB28
monochromatic
#1A1148 #2C1C79 #3E28AB #573ED2 #8270DE

Accessibility & contrast

On white

10.02
#3E28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E28AB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E28AB#FFFFFF#000000##FFFFFF
##3E28AB1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e28ab;
/* rgb */ color: rgb(62, 40, 171);
/* oklch */ color: oklch(40.1% 0.194 280.7);
Tailwind
colors: {
  custom: {
    50: '#8265c5',
    500: '#3e28ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e28ab;
$custom-light: #8265c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e28ab",
  "rgb": {
    "r": 62,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 250.076,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40057,
    "c": 0.19419,
    "h": 280.7
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#3E28AB
secondary
#B5C46A
accent
#E543CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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