#3D26A4#3D26A4

#3D26A4 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.188 H 281.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#3D26A4
RGBrgb(61, 38, 164)
HSLhsl(251, 62%, 40%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(62.8%, 76.8%, 0%, 35.7%)
CIE-LABlab(26.90, 45.62, -63.82)
CIE-LCHlch(26.90, 78.45, 305.56°)
OKLaboklab(39% 0.0377 -0.1841)
OKLCHoklch(39% 0.188 281.6)
XYZxyz(9.3163, 5.0580, 35.6001)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D26A4 #8DA426
analogous
#264EA4 #3D26A4 #7C26A4
triadic
#3D26A4 #A43D26 #26A43D
tetradic
#3D26A4 #A4264E #8DA426 #26A47C
square
#3D26A4 #A4264E #8DA426 #26A47C
split-complementary
#3D26A4 #A47C26 #4EA426
monochromatic
#180F41 #2B1A72 #3D26A4 #5337D1 #7D68DC

Accessibility & contrast

On white

10.44
#3D26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D26A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D26A4
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D26A4#FFFFFF#000000##FFFFFF
##3D26A41.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d26a4;
/* rgb */ color: rgb(61, 38, 164);
/* oklch */ color: oklch(39.0% 0.188 281.6);
Tailwind
colors: {
  custom: {
    50: '#8064c0',
    500: '#3d26a4',
    950: '#000000',
  },
}
SCSS
$custom: #3d26a4;
$custom-light: #8064c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d26a4",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 250.952,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39003,
    "c": 0.18793,
    "h": 281.6
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#3D26A4
secondary
#B1C264
accent
#E542C8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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