#3D25A4#3D25A4

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

Color values

HEX#3D25A4
RGBrgb(61, 37, 164)
HSLhsl(251, 63%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(62.8%, 77.4%, 0%, 35.7%)
CIE-LABlab(26.72, 46.14, -64.11)
CIE-LCHlch(26.72, 78.99, 305.74°)
OKLaboklab(38.88% 0.0384 -0.1849)
OKLCHoklch(38.88% 0.189 281.7)
XYZxyz(9.2848, 4.9949, 35.5896)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25A4 #8CA425
analogous
#254CA4 #3D25A4 #7D25A4
triadic
#3D25A4 #A43D25 #25A43D
tetradic
#3D25A4 #A4254C #8CA425 #25A47D
square
#3D25A4 #A4254C #8CA425 #25A47D
split-complementary
#3D25A4 #A47D25 #4CA425
monochromatic
#180E40 #2A1A72 #3D25A4 #5235D1 #7D67DD

Accessibility & contrast

On white

10.50
#3D25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D25A4
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25A4#FFFFFF#000000##FFFFFF
##3D25A41.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d25a4;
/* rgb */ color: rgb(61, 37, 164);
/* oklch */ color: oklch(38.9% 0.189 281.7);
Tailwind
colors: {
  custom: {
    50: '#8063c0',
    500: '#3d25a4',
    950: '#000000',
  },
}
SCSS
$custom: #3d25a4;
$custom-light: #8063c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25a4",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 251.339,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38878,
    "c": 0.18889,
    "h": 281.7
  },
  "luminance": 0.04996
}

Semantic roles & 50–950 ramp

primary
#3D25A4
secondary
#B0C262
accent
#E642C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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