#3D259D#3D259D

#3D259D is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.2% C 0.180 H 282.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#3D259D
RGBrgb(61, 37, 157)
HSLhsl(252, 62%, 38%)
HSVhsv(252, 76%, 62%)
CMYKcmyk(61.1%, 76.4%, 0%, 38.4%)
CIE-LABlab(26.01, 44.01, -61.03)
CIE-LCHlch(26.01, 75.24, 305.80°)
OKLaboklab(38.16% 0.0402 -0.1759)
OKLCHoklch(38.16% 0.18 282.9)
XYZxyz(8.6700, 4.7490, 32.3515)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D259D #859D25
analogous
#25499D #3D259D #79259D
triadic
#3D259D #9D3D25 #259D3D
tetradic
#3D259D #9D2549 #859D25 #259D79
square
#3D259D #9D2549 #859D25 #259D79
split-complementary
#3D259D #9D7925 #499D25
monochromatic
#170E3A #2A196B #3D259D #5031CE #7A62DA

Accessibility & contrast

On white

10.77
#3D259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D259D
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D259D#FFFFFF#000000##FFFFFF
##3D259D1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00399B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d259d;
/* rgb */ color: rgb(61, 37, 157);
/* oklch */ color: oklch(38.2% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f63bb',
    500: '#3d259d',
    950: '#000000',
  },
}
SCSS
$custom: #3d259d;
$custom-light: #7f63bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d259d",
  "rgb": {
    "r": 61,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 252,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.18049,
    "h": 282.9
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#3D259D
secondary
#ACBF5E
accent
#E543C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D259D

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

Preview Lab → · Contrast checker → · Palette generator →

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