#3D26AB#3D26AB

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

Color values

HEX#3D26AB
RGBrgb(61, 38, 171)
HSLhsl(250, 64%, 41%)
HSVhsv(250, 78%, 67%)
CMYKcmyk(64.3%, 77.8%, 0%, 32.9%)
CIE-LABlab(27.62, 47.75, -66.85)
CIE-LCHlch(27.62, 82.15, 305.54°)
OKLaboklab(39.73% 0.0359 -0.1929)
OKLCHoklch(39.73% 0.196 280.5)
XYZxyz(9.9659, 5.3178, 39.0214)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D26AB #94AB26
analogous
#2651AB #3D26AB #7F26AB
triadic
#3D26AB #AB3D26 #26AB3D
tetradic
#3D26AB #AB2651 #94AB26 #26AB7F
square
#3D26AB #AB2651 #94AB26 #26AB7F
split-complementary
#3D26AB #AB7F26 #51AB26
monochromatic
#191047 #2B1B79 #3D26AB #553BD3 #816DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D26AB#FFFFFF#000000##FFFFFF
##3D26AB1.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)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d26ab;
/* rgb */ color: rgb(61, 38, 171);
/* oklch */ color: oklch(39.7% 0.196 280.5);
Tailwind
colors: {
  custom: {
    50: '#8164c5',
    500: '#3d26ab',
    950: '#000000',
  },
}
SCSS
$custom: #3d26ab;
$custom-light: #8164c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d26ab",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 250.376,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.19625,
    "h": 280.5
  },
  "luminance": 0.05319
}

Semantic roles & 50–950 ramp

primary
#3D26AB
secondary
#B5C568
accent
#E741CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D26AB

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

Preview Lab → · Contrast checker → · Palette generator →

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