#3D207C#3D207C

#3D207C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.145 H 291.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3D207C
RGBrgb(61, 32, 124)
HSLhsl(259, 59%, 31%)
HSVhsv(259, 74%, 49%)
CMYKcmyk(50.8%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.87, 36.70, -47.28)
CIE-LCHlch(21.87, 59.85, 307.82°)
OKLaboklab(34.27% 0.0525 -0.1356)
OKLCHoklch(34.27% 0.145 291.2)
XYZxyz(6.0780, 3.4801, 19.4164)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D207C #5F7C20
analogous
#20317C #3D207C #6B207C
triadic
#3D207C #7C3D20 #207C3D
tetradic
#3D207C #7C2031 #5F7C20 #207C6B
square
#3D207C #7C2031 #5F7C20 #207C6B
split-complementary
#3D207C #7C6B20 #317C20
monochromatic
#0D071B #25134B #3D207C #552DAD #7247CF

Accessibility & contrast

On white

12.38
#3D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3D207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D207C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D207C#FFFFFF#000000##FFFFFF
##3D207C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#28384C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d207c;
/* rgb */ color: rgb(61, 32, 124);
/* oklch */ color: oklch(34.3% 0.145 291.2);
Tailwind
colors: {
  custom: {
    50: '#795ea3',
    500: '#3d207c',
    950: '#000000',
  },
}
SCSS
$custom: #3d207c;
$custom-light: #795ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d207c",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 258.913,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34273,
    "c": 0.14545,
    "h": 291.2
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#3D207C
secondary
#8FAF49
accent
#E246B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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