#3E26B0#3E26B0

#3E26B0 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.202 H 280.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3E26B0
RGBrgb(62, 38, 176)
HSLhsl(250, 64%, 42%)
HSVhsv(250, 78%, 69%)
CMYKcmyk(64.8%, 78.4%, 0%, 31%)
CIE-LABlab(28.23, 49.36, -68.84)
CIE-LCHlch(28.23, 84.71, 305.64°)
OKLaboklab(40.33% 0.036 -0.1987)
OKLCHoklch(40.33% 0.202 280.3)
XYZxyz(10.5137, 5.5441, 41.5820)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26B0 #98B026
analogous
#2653B0 #3E26B0 #8326B0
triadic
#3E26B0 #B03E26 #26B03E
tetradic
#3E26B0 #B02653 #98B026 #26B083
square
#3E26B0 #B02653 #98B026 #26B083
split-complementary
#3E26B0 #B08326 #53B026
monochromatic
#1B104B #2C1B7E #3E26B0 #583ED5 #8470E0

Accessibility & contrast

On white

9.96
#3E26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26B0
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26B0#FFFFFF#000000##FFFFFF
##3E26B01.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e26b0;
/* rgb */ color: rgb(62, 38, 176);
/* oklch */ color: oklch(40.3% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#8364c9',
    500: '#3e26b0',
    950: '#000000',
  },
}
SCSS
$custom: #3e26b0;
$custom-light: #8364c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26b0",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 250.435,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.20195,
    "h": 280.3
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#3E26B0
secondary
#B7C76B
accent
#E740CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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