#3D2286#3D2286

#3D2286 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.156 H 288.1°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#3D2286
RGBrgb(61, 34, 134)
HSLhsl(256, 60%, 33%)
HSVhsv(256, 75%, 53%)
CMYKcmyk(54.5%, 74.6%, 0%, 47.5%)
CIE-LABlab(23.19, 38.61, -51.43)
CIE-LCHlch(23.19, 64.31, 306.90°)
OKLaboklab(35.5% 0.0484 -0.1478)
OKLCHoklch(35.5% 0.156 288.1)
XYZxyz(6.7983, 3.8571, 22.9359)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2286 #6B8622
analogous
#223986 #3D2286 #6F2286
triadic
#3D2286 #863D22 #22863D
tetradic
#3D2286 #862239 #6B8622 #22866F
square
#3D2286 #862239 #6B8622 #22866F
split-complementary
#3D2286 #866F22 #398622
monochromatic
#110924 #271655 #3D2286 #532EB7 #7350D3

Accessibility & contrast

On white

11.86
#3D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2286
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2286#FFFFFF#000000##FFFFFF
##3D22861.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003584
Tritanopia (blue-blind)
#203D52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2286;
/* rgb */ color: rgb(61, 34, 134);
/* oklch */ color: oklch(35.5% 0.156 288.1);
Tailwind
colors: {
  custom: {
    50: '#7b60aa',
    500: '#3d2286',
    950: '#000000',
  },
}
SCSS
$custom: #3d2286;
$custom-light: #7b60aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2286",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 256.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.15553,
    "h": 288.1
  },
  "luminance": 0.03857
}

Semantic roles & 50–950 ramp

primary
#3D2286
secondary
#9AB64E
accent
#E345B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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