#3D207E#3D207E

#3D207E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.148 H 290.6°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#3D207E
RGBrgb(61, 32, 126)
HSLhsl(259, 59%, 31%)
HSVhsv(259, 75%, 49%)
CMYKcmyk(51.6%, 74.6%, 0%, 50.6%)
CIE-LABlab(22.06, 37.30, -48.24)
CIE-LCHlch(22.06, 60.98, 307.71°)
OKLaboklab(34.46% 0.0521 -0.1385)
OKLCHoklch(34.46% 0.148 290.6)
XYZxyz(6.2058, 3.5312, 20.0892)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D207E #617E20
analogous
#20327E #3D207E #6C207E
triadic
#3D207E #7E3D20 #207E3D
tetradic
#3D207E #7E2032 #617E20 #207E6C
square
#3D207E #7E2032 #617E20 #207E6C
split-complementary
#3D207E #7E6C20 #327E20
monochromatic
#0E071C #25144D #3D207E #552CAF #7248D0

Accessibility & contrast

On white

12.31
#3D207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3D207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D207E
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D207E#FFFFFF#000000##FFFFFF
##3D207E1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#27394D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d207e;
/* rgb */ color: rgb(61, 32, 126);
/* oklch */ color: oklch(34.5% 0.148 290.6);
Tailwind
colors: {
  custom: {
    50: '#7a5ea4',
    500: '#3d207e',
    950: '#000000',
  },
}
SCSS
$custom: #3d207e;
$custom-light: #7a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d207e",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 258.511,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.14795,
    "h": 290.6
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#3D207E
secondary
#91B149
accent
#E345B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D207E

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

Preview Lab → · Contrast checker → · Palette generator →

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