#3D299F#3D299F

#3D299F is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.179 H 281.9°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3D299F
RGBrgb(61, 41, 159)
HSLhsl(250, 59%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(61.6%, 74.2%, 0%, 37.6%)
CIE-LABlab(26.96, 42.49, -60.68)
CIE-LCHlch(26.96, 74.07, 305.00°)
OKLaboklab(38.9% 0.0369 -0.1749)
OKLCHoklch(38.9% 0.179 281.9)
XYZxyz(8.9735, 5.0805, 33.3019)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D299F #8B9F29
analogous
#29509F #3D299F #78299F
triadic
#3D299F #9F3D29 #299F3D
tetradic
#3D299F #9F2950 #8B9F29 #299F78
square
#3D299F #9F2950 #8B9F29 #299F78
split-complementary
#3D299F #9F7829 #509F29
monochromatic
#18103E #2A1C6E #3D299F #5239CC #7D6AD9

Accessibility & contrast

On white

10.42
#3D299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D299F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D299F#FFFFFF#000000##FFFFFF
##3D299F1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d299f;
/* rgb */ color: rgb(61, 41, 159);
/* oklch */ color: oklch(38.9% 0.179 281.9);
Tailwind
colors: {
  custom: {
    50: '#7f65bc',
    500: '#3d299f',
    950: '#000000',
  },
}
SCSS
$custom: #3d299f;
$custom-light: #7f65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d299f",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 250.169,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38897,
    "c": 0.17879,
    "h": 281.9
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#3D299F
secondary
#B0BF65
accent
#E246C8
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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