#3D299A#3D299A

#3D299A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.173 H 282.7°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3D299A
RGBrgb(61, 41, 154)
HSLhsl(251, 58%, 38%)
HSVhsv(251, 73%, 60%)
CMYKcmyk(60.4%, 73.4%, 0%, 39.6%)
CIE-LABlab(26.48, 40.92, -58.42)
CIE-LCHlch(26.48, 71.33, 305.01°)
OKLaboklab(38.41% 0.038 -0.1683)
OKLCHoklch(38.41% 0.173 282.7)
XYZxyz(8.5483, 4.9105, 31.0629)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D299A #869A29
analogous
#294E9A #3D299A #75299A
triadic
#3D299A #9A3D29 #299A3D
tetradic
#3D299A #9A294E #869A29 #299A75
square
#3D299A #9A294E #869A29 #299A75
split-complementary
#3D299A #9A7529 #4E9A29
monochromatic
#170F39 #2A1C6A #3D299A #5137CA #7B67D7

Accessibility & contrast

On white

10.59
#3D299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D299A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D299A#FFFFFF#000000##FFFFFF
##3D299A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003B98
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d299a;
/* rgb */ color: rgb(61, 41, 154);
/* oklch */ color: oklch(38.4% 0.173 282.7);
Tailwind
colors: {
  custom: {
    50: '#7e65b9',
    500: '#3d299a',
    950: '#000000',
  },
}
SCSS
$custom: #3d299a;
$custom-light: #7e65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d299a",
  "rgb": {
    "r": 61,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 250.619,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.17259,
    "h": 282.7
  },
  "luminance": 0.04911
}

Semantic roles & 50–950 ramp

primary
#3D299A
secondary
#ADBD62
accent
#E147C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D299A

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

Preview Lab → · Contrast checker → · Palette generator →

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