#3D259F#3D259F

#3D259F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.183 H 282.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#3D259F
RGBrgb(61, 37, 159)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(61.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(26.21, 44.62, -61.92)
CIE-LCHlch(26.21, 76.32, 305.78°)
OKLaboklab(38.37% 0.0397 -0.1785)
OKLCHoklch(38.37% 0.183 282.5)
XYZxyz(8.8421, 4.8178, 33.2582)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D259F #879F25
analogous
#254A9F #3D259F #7A259F
triadic
#3D259F #9F3D25 #259F3D
tetradic
#3D259F #9F254A #879F25 #259F7A
square
#3D259F #9F254A #879F25 #259F7A
split-complementary
#3D259F #9F7A25 #4A9F25
monochromatic
#170E3C #2A196D #3D259F #5132CF #7B64DB

Accessibility & contrast

On white

10.69
#3D259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3D259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D259F
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D259F#FFFFFF#000000##FFFFFF
##3D259F1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004861
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d259f;
/* rgb */ color: rgb(61, 37, 159);
/* oklch */ color: oklch(38.4% 0.183 282.5);
Tailwind
colors: {
  custom: {
    50: '#7f63bd',
    500: '#3d259f',
    950: '#000000',
  },
}
SCSS
$custom: #3d259f;
$custom-light: #7f63bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d259f",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 251.803,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38366,
    "c": 0.1829,
    "h": 282.5
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#3D259F
secondary
#ADC05F
accent
#E542C5
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D259F

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

Preview Lab → · Contrast checker → · Palette generator →

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