#3D25B1#3D25B1

#3D25B1 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.2% C 0.204 H 279.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3D25B1
RGBrgb(61, 37, 177)
HSLhsl(250, 65%, 42%)
HSVhsv(250, 79%, 69%)
CMYKcmyk(65.5%, 79.1%, 0%, 30.6%)
CIE-LABlab(28.08, 50.04, -69.69)
CIE-LCHlch(28.08, 85.79, 305.68°)
OKLaboklab(40.24% 0.0348 -0.2012)
OKLCHoklch(40.24% 0.204 279.8)
XYZxyz(10.5193, 5.4887, 42.0915)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25B1 #99B125
analogous
#2553B1 #3D25B1 #8325B1
triadic
#3D25B1 #B13D25 #25B13D
tetradic
#3D25B1 #B12553 #99B125 #25B183
square
#3D25B1 #B12553 #99B125 #25B183
split-complementary
#3D25B1 #B18325 #53B125
monochromatic
#1A104C #2C1A7E #3D25B1 #573DD6 #836FE1

Accessibility & contrast

On white

10.01
#3D25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3D25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25B1
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25B1#FFFFFF#000000##FFFFFF
##3D25B11.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d25b1;
/* rgb */ color: rgb(61, 37, 177);
/* oklch */ color: oklch(40.2% 0.204 279.8);
Tailwind
colors: {
  custom: {
    50: '#8364ca',
    500: '#3d25b1',
    950: '#000000',
  },
}
SCSS
$custom: #3d25b1;
$custom-light: #8364ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25b1",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 250.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40236,
    "c": 0.20417,
    "h": 279.8
  },
  "luminance": 0.0549
}

Semantic roles & 50–950 ramp

primary
#3D25B1
secondary
#B8C86A
accent
#E83FCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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