#3E26AB#3E26AB

#3E26AB is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.196 H 281.0°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3E26AB
RGBrgb(62, 38, 171)
HSLhsl(251, 64%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(63.7%, 77.8%, 0%, 32.9%)
CIE-LABlab(27.71, 47.86, -66.70)
CIE-LCHlch(27.71, 82.10, 305.66°)
OKLaboklab(39.81% 0.0373 -0.1925)
OKLCHoklch(39.81% 0.196 281)
XYZxyz(10.0281, 5.3499, 39.0244)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26AB #93AB26
analogous
#2650AB #3E26AB #8026AB
triadic
#3E26AB #AB3E26 #26AB3E
tetradic
#3E26AB #AB2650 #93AB26 #26AB80
square
#3E26AB #AB2650 #93AB26 #26AB80
split-complementary
#3E26AB #AB8026 #50AB26
monochromatic
#1A1047 #2C1B79 #3E26AB #563BD3 #816DDF

Accessibility & contrast

On white

10.14
#3E26AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E26AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26AB
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26AB#FFFFFF#000000##FFFFFF
##3E26AB1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e26ab;
/* rgb */ color: rgb(62, 38, 171);
/* oklch */ color: oklch(39.8% 0.196 281.0);
Tailwind
colors: {
  custom: {
    50: '#8264c5',
    500: '#3e26ab',
    950: '#000000',
  },
}
SCSS
$custom: #3e26ab;
$custom-light: #8264c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26ab",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 250.827,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.19608,
    "h": 281
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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