#3D26A3#3D26A3

#3D26A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.187 H 281.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3D26A3
RGBrgb(61, 38, 163)
HSLhsl(251, 62%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(62.6%, 76.7%, 0%, 36.1%)
CIE-LABlab(26.80, 45.32, -63.38)
CIE-LCHlch(26.80, 77.92, 305.57°)
OKLaboklab(38.9% 0.038 -0.1828)
OKLCHoklch(38.9% 0.187 281.7)
XYZxyz(9.2264, 5.0220, 35.1264)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D26A3 #8CA326
analogous
#264EA3 #3D26A3 #7C26A3
triadic
#3D26A3 #A33D26 #26A33D
tetradic
#3D26A3 #A3264E #8CA326 #26A37C
square
#3D26A3 #A3264E #8CA326 #26A37C
split-complementary
#3D26A3 #A37C26 #4EA326
monochromatic
#180F40 #2A1A71 #3D26A3 #5236D0 #7D68DC

Accessibility & contrast

On white

10.48
#3D26A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D26A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D26A3
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D26A3#FFFFFF#000000##FFFFFF
##3D26A31.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d26a3;
/* rgb */ color: rgb(61, 38, 163);
/* oklch */ color: oklch(38.9% 0.187 281.7);
Tailwind
colors: {
  custom: {
    50: '#8064bf',
    500: '#3d26a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d26a3;
$custom-light: #8064bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d26a3",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 251.04,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38901,
    "c": 0.18673,
    "h": 281.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#3D26A3
secondary
#B0C263
accent
#E543C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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