#3E26A9#3E26A9

#3E26A9 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.194 H 281.3°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#3E26A9
RGBrgb(62, 38, 169)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 78%, 66%)
CMYKcmyk(63.3%, 77.5%, 0%, 33.7%)
CIE-LABlab(27.50, 47.26, -65.84)
CIE-LCHlch(27.50, 81.05, 305.67°)
OKLaboklab(39.6% 0.0379 -0.19)
OKLCHoklch(39.6% 0.194 281.3)
XYZxyz(9.8389, 5.2742, 38.0280)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26A9 #91A926
analogous
#2650A9 #3E26A9 #7F26A9
triadic
#3E26A9 #A93E26 #26A93E
tetradic
#3E26A9 #A92650 #91A926 #26A97F
square
#3E26A9 #A92650 #91A926 #26A97F
split-complementary
#3E26A9 #A97F26 #50A926
monochromatic
#191045 #2C1B77 #3E26A9 #563AD3 #806CDE

Accessibility & contrast

On white

10.22
#3E26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E26A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26A9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26A9#FFFFFF#000000##FFFFFF
##3E26A91.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e26a9;
/* rgb */ color: rgb(62, 38, 169);
/* oklch */ color: oklch(39.6% 0.194 281.3);
Tailwind
colors: {
  custom: {
    50: '#8164c4',
    500: '#3e26a9',
    950: '#000000',
  },
}
SCSS
$custom: #3e26a9;
$custom-light: #8164c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26a9",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 250.992,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.19371,
    "h": 281.3
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#3E26A9
secondary
#B3C467
accent
#E641C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E26A9

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

Preview Lab → · Contrast checker → · Palette generator →

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