#3D25A3#3D25A3

#3D25A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 281.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3D25A3
RGBrgb(61, 37, 163)
HSLhsl(251, 63%, 39%)
HSVhsv(251, 77%, 64%)
CMYKcmyk(62.6%, 77.3%, 0%, 36.1%)
CIE-LABlab(26.62, 45.83, -63.68)
CIE-LCHlch(26.62, 78.46, 305.75°)
OKLaboklab(38.78% 0.0386 -0.1837)
OKLCHoklch(38.78% 0.188 281.9)
XYZxyz(9.1948, 4.9589, 35.1159)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25A3 #8BA325
analogous
#254CA3 #3D25A3 #7C25A3
triadic
#3D25A3 #A33D25 #25A33D
tetradic
#3D25A3 #A3254C #8BA325 #25A37C
square
#3D25A3 #A3254C #8BA325 #25A37C
split-complementary
#3D25A3 #A37C25 #4CA325
monochromatic
#180E3F #2A1A71 #3D25A3 #5234D1 #7D66DC

Accessibility & contrast

On white

10.54
#3D25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3D25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25A3
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25A3#FFFFFF#000000##FFFFFF
##3D25A31.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d25a3;
/* rgb */ color: rgb(61, 37, 163);
/* oklch */ color: oklch(38.8% 0.188 281.9);
Tailwind
colors: {
  custom: {
    50: '#8063bf',
    500: '#3d25a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d25a3;
$custom-light: #8063bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25a3",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 251.429,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.18769,
    "h": 281.9
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#3D25A3
secondary
#B0C262
accent
#E642C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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