#3E26B2#3E26B2

#3E26B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.204 H 280.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3E26B2
RGBrgb(62, 38, 178)
HSLhsl(250, 65%, 42%)
HSVhsv(250, 79%, 70%)
CMYKcmyk(65.2%, 78.7%, 0%, 30.2%)
CIE-LABlab(28.44, 49.96, -69.69)
CIE-LCHlch(28.44, 85.75, 305.64°)
OKLaboklab(40.54% 0.0354 -0.2012)
OKLCHoklch(40.54% 0.204 280)
XYZxyz(10.7130, 5.6239, 42.6318)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26B2 #9AB226
analogous
#2654B2 #3E26B2 #8426B2
triadic
#3E26B2 #B23E26 #26B23E
tetradic
#3E26B2 #B22654 #9AB226 #26B284
square
#3E26B2 #B22654 #9AB226 #26B284
split-complementary
#3E26B2 #B28426 #54B226
monochromatic
#1B104D #2C1B80 #3E26B2 #593FD6 #8572E1

Accessibility & contrast

On white

9.88
#3E26B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E26B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26B2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26B2#FFFFFF#000000##FFFFFF
##3E26B21.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e26b2;
/* rgb */ color: rgb(62, 38, 178);
/* oklch */ color: oklch(40.5% 0.204 280.0);
Tailwind
colors: {
  custom: {
    50: '#8365ca',
    500: '#3e26b2',
    950: '#000000',
  },
}
SCSS
$custom: #3e26b2;
$custom-light: #8365ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26b2",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 250.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.20427,
    "h": 280
  },
  "luminance": 0.05625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E26B2

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

Preview Lab → · Contrast checker → · Palette generator →

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