#3D26A8#3D26A8

#3D26A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.193 H 281.0°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3D26A8
RGBrgb(61, 38, 168)
HSLhsl(251, 63%, 40%)
HSVhsv(251, 77%, 66%)
CMYKcmyk(63.7%, 77.4%, 0%, 34.1%)
CIE-LABlab(27.31, 46.84, -65.56)
CIE-LCHlch(27.31, 80.57, 305.55°)
OKLaboklab(39.41% 0.0367 -0.1892)
OKLCHoklch(39.41% 0.193 281)
XYZxyz(9.6832, 5.2047, 37.5325)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D26A8 #91A826
analogous
#2650A8 #3D26A8 #7E26A8
triadic
#3D26A8 #A83D26 #26A83D
tetradic
#3D26A8 #A82650 #91A826 #26A87E
square
#3D26A8 #A82650 #91A826 #26A87E
split-complementary
#3D26A8 #A87E26 #50A826
monochromatic
#190F44 #2B1B76 #3D26A8 #5439D2 #7F6BDE

Accessibility & contrast

On white

10.29
#3D26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3D26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D26A8
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D26A8#FFFFFF#000000##FFFFFF
##3D26A81.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d26a8;
/* rgb */ color: rgb(61, 38, 168);
/* oklch */ color: oklch(39.4% 0.193 281.0);
Tailwind
colors: {
  custom: {
    50: '#8164c3',
    500: '#3d26a8',
    950: '#000000',
  },
}
SCSS
$custom: #3d26a8;
$custom-light: #8164c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d26a8",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 250.615,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.19269,
    "h": 281
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#3D26A8
secondary
#B3C466
accent
#E642C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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