#3D25B3#3D25B3

#3D25B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.4% C 0.206 H 279.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3D25B3
RGBrgb(61, 37, 179)
HSLhsl(250, 66%, 42%)
HSVhsv(250, 79%, 70%)
CMYKcmyk(65.9%, 79.3%, 0%, 29.8%)
CIE-LABlab(28.30, 50.64, -70.53)
CIE-LCHlch(28.30, 86.82, 305.68°)
OKLaboklab(40.45% 0.0342 -0.2036)
OKLCHoklch(40.45% 0.206 279.5)
XYZxyz(10.7201, 5.5690, 43.1491)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25B3 #9BB325
analogous
#2554B3 #3D25B3 #8425B3
triadic
#3D25B3 #B33D25 #25B33D
tetradic
#3D25B3 #B32554 #9BB325 #25B384
square
#3D25B3 #B32554 #9BB325 #25B384
split-complementary
#3D25B3 #B38425 #54B325
monochromatic
#1A104E #2C1B80 #3D25B3 #583ED7 #8471E2

Accessibility & contrast

On white

9.93
#3D25B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3D25B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25B3
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25B3#FFFFFF#000000##FFFFFF
##3D25B31.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d25b3;
/* rgb */ color: rgb(61, 37, 179);
/* oklch */ color: oklch(40.4% 0.206 279.5);
Tailwind
colors: {
  custom: {
    50: '#8364cb',
    500: '#3d25b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d25b3;
$custom-light: #8364cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25b3",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 250.141,
    "s": 65.741,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40448,
    "c": 0.20649,
    "h": 279.5
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#3D25B3
secondary
#B9C86B
accent
#E93FCC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D25B3

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

Preview Lab → · Contrast checker → · Palette generator →

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