#3E26A1#3E26A1

#3E26A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.184 H 282.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3E26A1
RGBrgb(62, 38, 161)
HSLhsl(252, 62%, 39%)
HSVhsv(252, 76%, 63%)
CMYKcmyk(61.5%, 76.4%, 0%, 36.9%)
CIE-LABlab(26.69, 44.84, -62.35)
CIE-LCHlch(26.69, 76.79, 305.72°)
OKLaboklab(38.78% 0.04 -0.1798)
OKLCHoklch(38.78% 0.184 282.5)
XYZxyz(9.1107, 4.9829, 34.1930)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26A1 #89A126
analogous
#264CA1 #3E26A1 #7C26A1
triadic
#3E26A1 #A13E26 #26A13E
tetradic
#3E26A1 #A1264C #89A126 #26A17C
square
#3E26A1 #A1264C #89A126 #26A17C
split-complementary
#3E26A1 #A17C26 #4CA126
monochromatic
#180F3E #2B1A6F #3E26A1 #5335CF #7D66DB

Accessibility & contrast

On white

10.52
#3E26A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E26A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26A1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26A1#FFFFFF#000000##FFFFFF
##3E26A11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e26a1;
/* rgb */ color: rgb(62, 38, 161);
/* oklch */ color: oklch(38.8% 0.184 282.5);
Tailwind
colors: {
  custom: {
    50: '#8064be',
    500: '#3e26a1',
    950: '#000000',
  },
}
SCSS
$custom: #3e26a1;
$custom-light: #8064be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26a1",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 251.707,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38785,
    "c": 0.18417,
    "h": 282.5
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#3E26A1
secondary
#AEC162
accent
#E543C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3E26A1

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

Preview Lab → · Contrast checker → · Palette generator →

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