#3E26AA#3E26AA

#3E26AA is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.195 H 281.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3E26AA
RGBrgb(62, 38, 170)
HSLhsl(251, 63%, 41%)
HSVhsv(251, 78%, 67%)
CMYKcmyk(63.5%, 77.6%, 0%, 33.3%)
CIE-LABlab(27.61, 47.56, -66.27)
CIE-LCHlch(27.61, 81.57, 305.66°)
OKLaboklab(39.71% 0.0376 -0.1912)
OKLCHoklch(39.71% 0.195 281.1)
XYZxyz(9.9331, 5.3119, 38.5243)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26AA #92AA26
analogous
#2650AA #3E26AA #8026AA
triadic
#3E26AA #AA3E26 #26AA3E
tetradic
#3E26AA #AA2650 #92AA26 #26AA80
square
#3E26AA #AA2650 #92AA26 #26AA80
split-complementary
#3E26AA #AA8026 #50AA26
monochromatic
#1A1046 #2C1B78 #3E26AA #563AD3 #816CDE

Accessibility & contrast

On white

10.18
#3E26AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E26AA
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26AA#FFFFFF#000000##FFFFFF
##3E26AA1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e26aa;
/* rgb */ color: rgb(62, 38, 170);
/* oklch */ color: oklch(39.7% 0.195 281.1);
Tailwind
colors: {
  custom: {
    50: '#8264c5',
    500: '#3e26aa',
    950: '#000000',
  },
}
SCSS
$custom: #3e26aa;
$custom-light: #8264c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26aa",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 250.909,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39705,
    "c": 0.19489,
    "h": 281.1
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E26AA

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

Preview Lab → · Contrast checker → · Palette generator →

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