#3D25B5#3D25B5

#3D25B5 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.7% C 0.209 H 279.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#3D25B5
RGBrgb(61, 37, 181)
HSLhsl(250, 66%, 43%)
HSVhsv(250, 80%, 71%)
CMYKcmyk(66.3%, 79.6%, 0%, 29%)
CIE-LABlab(28.51, 51.23, -71.37)
CIE-LCHlch(28.51, 87.85, 305.67°)
OKLaboklab(40.66% 0.0336 -0.2061)
OKLCHoklch(40.66% 0.209 279.3)
XYZxyz(10.9239, 5.6505, 44.2221)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25B5 #9DB525
analogous
#2555B5 #3D25B5 #8525B5
triadic
#3D25B5 #B53D25 #25B53D
tetradic
#3D25B5 #B52555 #9DB525 #25B585
square
#3D25B5 #B52555 #9DB525 #25B585
split-complementary
#3D25B5 #B58525 #55B525
monochromatic
#1B104F #2C1B82 #3D25B5 #593FD8 #8572E2

Accessibility & contrast

On white

9.86
#3D25B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3D25B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25B5
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25B5#FFFFFF#000000##FFFFFF
##3D25B51.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d25b5;
/* rgb */ color: rgb(61, 37, 181);
/* oklch */ color: oklch(40.7% 0.209 279.3);
Tailwind
colors: {
  custom: {
    50: '#8364cd',
    500: '#3d25b5',
    950: '#000000',
  },
}
SCSS
$custom: #3d25b5;
$custom-light: #8364cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25b5",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 181
  },
  "hsl": {
    "h": 250,
    "s": 66.055,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40661,
    "c": 0.2088,
    "h": 279.3
  },
  "luminance": 0.05651
}

Semantic roles & 50–950 ramp

primary
#3D25B5
secondary
#BAC96D
accent
#E93FCD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D25B5

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

Preview Lab → · Contrast checker → · Palette generator →

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