#3D207B#3D207B

#3D207B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.144 H 291.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3D207B
RGBrgb(61, 32, 123)
HSLhsl(259, 59%, 30%)
HSVhsv(259, 74%, 48%)
CMYKcmyk(50.4%, 74%, 0%, 51.8%)
CIE-LABlab(21.78, 36.40, -46.79)
CIE-LCHlch(21.78, 59.28, 307.88°)
OKLaboklab(34.18% 0.0527 -0.1342)
OKLCHoklch(34.18% 0.144 291.5)
XYZxyz(6.0151, 3.4550, 19.0850)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D207B #5E7B20
analogous
#20307B #3D207B #6A207B
triadic
#3D207B #7B3D20 #207B3D
tetradic
#3D207B #7B2030 #5E7B20 #207B6A
square
#3D207B #7B2030 #5E7B20 #207B6A
split-complementary
#3D207B #7B6A20 #307B20
monochromatic
#0D071A #25134A #3D207B #552DAC #7246CF

Accessibility & contrast

On white

12.42
#3D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D207B
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D207B#FFFFFF#000000##FFFFFF
##3D207B1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#29384B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3d207b;
/* rgb */ color: rgb(61, 32, 123);
/* oklch */ color: oklch(34.2% 0.144 291.5);
Tailwind
colors: {
  custom: {
    50: '#795ea2',
    500: '#3d207b',
    950: '#000000',
  },
}
SCSS
$custom: #3d207b;
$custom-light: #795ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d207b",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 259.121,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3418,
    "c": 0.1442,
    "h": 291.5
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#3D207B
secondary
#8EAE49
accent
#E246B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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