#3D299D#3D299D

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

Color values

HEX#3D299D
RGBrgb(61, 41, 157)
HSLhsl(250, 59%, 39%)
HSVhsv(250, 74%, 62%)
CMYKcmyk(61.1%, 73.9%, 0%, 38.4%)
CIE-LABlab(26.77, 41.86, -59.78)
CIE-LCHlch(26.77, 72.98, 305.00°)
OKLaboklab(38.7% 0.0374 -0.1723)
OKLCHoklch(38.7% 0.176 282.2)
XYZxyz(8.8013, 5.0117, 32.3953)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D299D #899D29
analogous
#294F9D #3D299D #77299D
triadic
#3D299D #9D3D29 #299D3D
tetradic
#3D299D #9D294F #899D29 #299D77
square
#3D299D #9D294F #899D29 #299D77
split-complementary
#3D299D #9D7729 #4F9D29
monochromatic
#17103C #2A1C6C #3D299D #5138CB #7C69D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D299D#FFFFFF#000000##FFFFFF
##3D299D1.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)
#0043A0
Deuteranopia (green-blind)
#003B9B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d299d;
/* rgb */ color: rgb(61, 41, 157);
/* oklch */ color: oklch(38.7% 0.176 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e65bb',
    500: '#3d299d',
    950: '#000000',
  },
}
SCSS
$custom: #3d299d;
$custom-light: #7e65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d299d",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 250.345,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.387,
    "c": 0.17632,
    "h": 282.2
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#3D299D
secondary
#AEBE64
accent
#E246C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D299D

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

Preview Lab → · Contrast checker → · Palette generator →

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