#3D259E#3D259E

#3D259E is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.182 H 282.7°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#3D259E
RGBrgb(61, 37, 158)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(61.4%, 76.6%, 0%, 38%)
CIE-LABlab(26.11, 44.31, -61.47)
CIE-LCHlch(26.11, 75.78, 305.79°)
OKLaboklab(38.27% 0.04 -0.1772)
OKLCHoklch(38.27% 0.182 282.7)
XYZxyz(8.7557, 4.7833, 32.8030)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D259E #869E25
analogous
#25499E #3D259E #79259E
triadic
#3D259E #9E3D25 #259E3D
tetradic
#3D259E #9E2549 #869E25 #259E79
square
#3D259E #9E2549 #869E25 #259E79
split-complementary
#3D259E #9E7925 #499E25
monochromatic
#170E3B #2A196C #3D259E #5131CF #7B63DA

Accessibility & contrast

On white

10.73
#3D259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D259E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D259E#FFFFFF#000000##FFFFFF
##3D259E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d259e;
/* rgb */ color: rgb(61, 37, 158);
/* oklch */ color: oklch(38.3% 0.182 282.7);
Tailwind
colors: {
  custom: {
    50: '#7f63bc',
    500: '#3d259e',
    950: '#000000',
  },
}
SCSS
$custom: #3d259e;
$custom-light: #7f63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d259e",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 251.901,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.1817,
    "h": 282.7
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D259E

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

Preview Lab → · Contrast checker → · Palette generator →

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