#3E26AF#3E26AF

#3E26AF is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.2% C 0.201 H 280.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3E26AF
RGBrgb(62, 38, 175)
HSLhsl(251, 64%, 42%)
HSVhsv(251, 78%, 69%)
CMYKcmyk(64.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(28.13, 49.06, -68.42)
CIE-LCHlch(28.13, 84.19, 305.64°)
OKLaboklab(40.22% 0.0362 -0.1975)
OKLCHoklch(40.22% 0.201 280.4)
XYZxyz(10.4151, 5.5047, 41.0628)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E26AF #97AF26
analogous
#2653AF #3E26AF #8326AF
triadic
#3E26AF #AF3E26 #26AF3E
tetradic
#3E26AF #AF2653 #97AF26 #26AF83
square
#3E26AF #AF2653 #97AF26 #26AF83
split-complementary
#3E26AF #AF8326 #53AF26
monochromatic
#1A104A #2C1B7D #3E26AF #583DD5 #8370E0

Accessibility & contrast

On white

9.99
#3E26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E26AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E26AF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E26AF#FFFFFF#000000##FFFFFF
##3E26AF1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e26af;
/* rgb */ color: rgb(62, 38, 175);
/* oklch */ color: oklch(40.2% 0.201 280.4);
Tailwind
colors: {
  custom: {
    50: '#8364c8',
    500: '#3e26af',
    950: '#000000',
  },
}
SCSS
$custom: #3e26af;
$custom-light: #8364c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e26af",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 250.511,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40224,
    "c": 0.20078,
    "h": 280.4
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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