#3D25AF#3D25AF

#3D25AF is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.202 H 280.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3D25AF
RGBrgb(61, 37, 175)
HSLhsl(250, 65%, 42%)
HSVhsv(250, 79%, 69%)
CMYKcmyk(65.1%, 78.9%, 0%, 31.4%)
CIE-LABlab(27.87, 49.44, -68.84)
CIE-LCHlch(27.87, 84.76, 305.69°)
OKLaboklab(40.03% 0.0353 -0.1987)
OKLCHoklch(40.03% 0.202 280.1)
XYZxyz(10.3214, 5.4096, 41.0494)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D25AF #97AF25
analogous
#2552AF #3D25AF #8225AF
triadic
#3D25AF #AF3D25 #25AF3D
tetradic
#3D25AF #AF2552 #97AF25 #25AF82
square
#3D25AF #AF2552 #97AF25 #25AF82
split-complementary
#3D25AF #AF8225 #52AF25
monochromatic
#1A104A #2B1A7C #3D25AF #563CD6 #826EE0

Accessibility & contrast

On white

10.09
#3D25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D25AF
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D25AF#FFFFFF#000000##FFFFFF
##3D25AF1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#004E6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d25af;
/* rgb */ color: rgb(61, 37, 175);
/* oklch */ color: oklch(40.0% 0.202 280.1);
Tailwind
colors: {
  custom: {
    50: '#8264c8',
    500: '#3d25af',
    950: '#000000',
  },
}
SCSS
$custom: #3d25af;
$custom-light: #8264c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d25af",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 250.435,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40025,
    "c": 0.20184,
    "h": 280.1
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#3D25AF
secondary
#B7C769
accent
#E840CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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