#3E26B1#3E26B1

#3E26B1 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.4% C 0.203 H 280.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3E26B1
RGBrgb(62, 38, 177)
HSLhsl(250, 65%, 42%)
HSVhsv(250, 79%, 69%)
CMYKcmyk(65%, 78.5%, 0%, 30.6%)
CIE-LABlab(28.34, 49.66, -69.27)
CIE-LCHlch(28.34, 85.23, 305.64°)
OKLaboklab(40.43% 0.0357 -0.1999)
OKLCHoklch(40.43% 0.203 280.1)
XYZxyz(10.6130, 5.5838, 42.1050)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26B1 #99B126
analogous
#2653B1 #3E26B1 #8426B1
triadic
#3E26B1 #B13E26 #26B13E
tetradic
#3E26B1 #B12653 #99B126 #26B184
square
#3E26B1 #B12653 #99B126 #26B184
split-complementary
#3E26B1 #B18426 #53B126
monochromatic
#1B104C #2C1B7F #3E26B1 #593FD6 #8471E0

Accessibility & contrast

On white

9.92
#3E26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3E26B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26B1
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26B1#FFFFFF#000000##FFFFFF
##3E26B11.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e26b1;
/* rgb */ color: rgb(62, 38, 177);
/* oklch */ color: oklch(40.4% 0.203 280.1);
Tailwind
colors: {
  custom: {
    50: '#8365ca',
    500: '#3e26b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e26b1;
$custom-light: #8365ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26b1",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 250.36,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40434,
    "c": 0.20311,
    "h": 280.1
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#3E26B1
secondary
#B8C76B
accent
#E840CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E26B1

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

Preview Lab → · Contrast checker → · Palette generator →

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