#3D289F#3D289F

#3D289F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.180 H 282.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3D289F
RGBrgb(61, 40, 159)
HSLhsl(251, 60%, 39%)
HSVhsv(251, 75%, 62%)
CMYKcmyk(61.6%, 74.8%, 0%, 37.6%)
CIE-LABlab(26.77, 43.03, -61.00)
CIE-LCHlch(26.77, 74.65, 305.20°)
OKLaboklab(38.76% 0.0376 -0.1759)
OKLCHoklch(38.76% 0.18 282.1)
XYZxyz(8.9393, 5.0123, 33.2906)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D289F #8A9F28
analogous
#284F9F #3D289F #79289F
triadic
#3D289F #9F3D28 #289F3D
tetradic
#3D289F #9F284F #8A9F28 #289F79
square
#3D289F #9F284F #8A9F28 #289F79
split-complementary
#3D289F #9F7928 #4F9F28
monochromatic
#170F3D #2A1C6E #3D289F #5237CD #7C68D9

Accessibility & contrast

On white

10.49
#3D289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D289F
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D289F#FFFFFF#000000##FFFFFF
##3D289F1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d289f;
/* rgb */ color: rgb(61, 40, 159);
/* oklch */ color: oklch(38.8% 0.180 282.1);
Tailwind
colors: {
  custom: {
    50: '#7f65bc',
    500: '#3d289f',
    950: '#000000',
  },
}
SCSS
$custom: #3d289f;
$custom-light: #7f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d289f",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 250.588,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.17985,
    "h": 282.1
  },
  "luminance": 0.05013
}

Semantic roles & 50–950 ramp

primary
#3D289F
secondary
#AFBF64
accent
#E345C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D289F

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

Preview Lab → · Contrast checker → · Palette generator →

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