#3E26AC#3E26AC

#3E26AC is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.197 H 280.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3E26AC
RGBrgb(62, 38, 172)
HSLhsl(251, 64%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(64%, 77.9%, 0%, 32.5%)
CIE-LABlab(27.81, 48.16, -67.13)
CIE-LCHlch(27.81, 82.62, 305.66°)
OKLaboklab(39.91% 0.0371 -0.1937)
OKLCHoklch(39.91% 0.197 280.8)
XYZxyz(10.1238, 5.3881, 39.5283)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26AC #94AC26
analogous
#2651AC #3E26AC #8126AC
triadic
#3E26AC #AC3E26 #26AC3E
tetradic
#3E26AC #AC2651 #94AC26 #26AC81
square
#3E26AC #AC2651 #94AC26 #26AC81
split-complementary
#3E26AC #AC8126 #51AC26
monochromatic
#1A1048 #2C1B7A #3E26AC #573BD4 #826EDF

Accessibility & contrast

On white

10.11
#3E26AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3E26AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26AC
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26AC#FFFFFF#000000##FFFFFF
##3E26AC1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e26ac;
/* rgb */ color: rgb(62, 38, 172);
/* oklch */ color: oklch(39.9% 0.197 280.8);
Tailwind
colors: {
  custom: {
    50: '#8264c6',
    500: '#3e26ac',
    950: '#000000',
  },
}
SCSS
$custom: #3e26ac;
$custom-light: #8264c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26ac",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 250.746,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.19725,
    "h": 280.8
  },
  "luminance": 0.05389
}

Semantic roles & 50–950 ramp

primary
#3E26AC
secondary
#B5C568
accent
#E741C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E26AC

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

Preview Lab → · Contrast checker → · Palette generator →

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