#3D25A9#3D25A9

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

Color values

HEX#3D25A9
RGBrgb(61, 37, 169)
HSLhsl(251, 64%, 40%)
HSVhsv(251, 78%, 66%)
CMYKcmyk(63.9%, 78.1%, 0%, 33.7%)
CIE-LABlab(27.24, 47.65, -66.28)
CIE-LCHlch(27.24, 81.63, 305.71°)
OKLaboklab(39.4% 0.037 -0.1913)
OKLCHoklch(39.4% 0.195 280.9)
XYZxyz(9.7452, 5.1791, 38.0145)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25A9 #91A925
analogous
#254FA9 #3D25A9 #7F25A9
triadic
#3D25A9 #A93D25 #25A93D
tetradic
#3D25A9 #A9254F #91A925 #25A97F
square
#3D25A9 #A9254F #91A925 #25A97F
split-complementary
#3D25A9 #A97F25 #4FA925
monochromatic
#190F45 #2B1A77 #3D25A9 #5438D3 #7F6ADE

Accessibility & contrast

On white

10.31
#3D25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D25A9
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25A9#FFFFFF#000000##FFFFFF
##3D25A91.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d25a9;
/* rgb */ color: rgb(61, 37, 169);
/* oklch */ color: oklch(39.4% 0.195 280.9);
Tailwind
colors: {
  custom: {
    50: '#8163c4',
    500: '#3d25a9',
    950: '#000000',
  },
}
SCSS
$custom: #3d25a9;
$custom-light: #8163c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25a9",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 250.909,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39395,
    "c": 0.19482,
    "h": 280.9
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#3D25A9
secondary
#B3C465
accent
#E741C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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