#3D2099#3D2099

#3D2099 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.181 H 284.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3D2099
RGBrgb(61, 32, 153)
HSLhsl(254, 65%, 36%)
HSVhsv(254, 79%, 60%)
CMYKcmyk(60.1%, 79.1%, 0%, 40%)
CIE-LABlab(24.72, 45.33, -60.71)
CIE-LCHlch(24.72, 75.77, 306.75°)
OKLaboklab(37.14% 0.0447 -0.175)
OKLCHoklch(37.14% 0.181 284.3)
XYZxyz(8.1890, 4.3245, 30.5340)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2099 #7C9920
analogous
#204099 #3D2099 #7A2099
triadic
#3D2099 #993D20 #20993D
tetradic
#3D2099 #992040 #7C9920 #20997A
square
#3D2099 #992040 #7C9920 #20997A
split-complementary
#3D2099 #997A20 #409920
monochromatic
#150B34 #291566 #3D2099 #512BCC #7757DC

Accessibility & contrast

On white

11.26
#3D2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3D2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2099
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2099#FFFFFF#000000##FFFFFF
##3D20991.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#02435C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2099;
/* rgb */ color: rgb(61, 32, 153);
/* oklch */ color: oklch(37.1% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#7e60b8',
    500: '#3d2099',
    950: '#000000',
  },
}
SCSS
$custom: #3d2099;
$custom-light: #7e60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2099",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 254.38,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37137,
    "c": 0.18059,
    "h": 284.3
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#3D2099
secondary
#A6C055
accent
#E83FC0
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D2099

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

Preview Lab → · Contrast checker → · Palette generator →

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