#3D206B#3D206B

#3D206B is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.124 H 296.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#3D206B
RGBrgb(61, 32, 107)
HSLhsl(263, 54%, 27%)
HSVhsv(263, 70%, 42%)
CMYKcmyk(43%, 70.1%, 0%, 58%)
CIE-LABlab(20.39, 31.67, -38.77)
CIE-LCHlch(20.39, 50.06, 309.25°)
OKLaboklab(32.75% 0.0557 -0.1106)
OKLCHoklch(32.75% 0.124 296.7)
XYZxyz(5.0941, 3.0866, 14.2344)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D206B #4E6B20
analogous
#20296B #3D206B #63206B
triadic
#3D206B #6B3D20 #206B3D
tetradic
#3D206B #6B2029 #4E6B20 #206B63
square
#3D206B #6B2029 #4E6B20 #206B63
split-complementary
#3D206B #6B6320 #296B20
monochromatic
#0D0718 #22123C #3D206B #582E9A #7340C6

Accessibility & contrast

On white

12.98
#3D206B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3D206B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D206B
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D206B#FFFFFF#000000##FFFFFF
##3D206B1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#313242
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d206b;
/* rgb */ color: rgb(61, 32, 107);
/* oklch */ color: oklch(32.8% 0.124 296.7);
Tailwind
colors: {
  custom: {
    50: '#775d96',
    500: '#3d206b',
    950: '#000000',
  },
}
SCSS
$custom: #3d206b;
$custom-light: #775d96;
$custom-dark: #000000;
JSON
{
  "hex": "#3d206b",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 107
  },
  "hsl": {
    "h": 263.2,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3275,
    "c": 0.12386,
    "h": 296.7
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#3D206B
secondary
#7D9F48
accent
#DD4AA5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3D206B

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

Preview Lab → · Contrast checker → · Palette generator →

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