#3D2285#3D2285

#3D2285 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.154 H 288.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#3D2285
RGBrgb(61, 34, 133)
HSLhsl(256, 59%, 33%)
HSVhsv(256, 74%, 52%)
CMYKcmyk(54.1%, 74.4%, 0%, 47.8%)
CIE-LABlab(23.10, 38.31, -50.95)
CIE-LCHlch(23.10, 63.75, 306.94°)
OKLaboklab(35.4% 0.0486 -0.1464)
OKLCHoklch(35.4% 0.154 288.4)
XYZxyz(6.7289, 3.8293, 22.5703)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2285 #6A8522
analogous
#223885 #3D2285 #6F2285
triadic
#3D2285 #853D22 #22853D
tetradic
#3D2285 #852238 #6A8522 #22856F
square
#3D2285 #852238 #6A8522 #22856F
split-complementary
#3D2285 #856F22 #388522
monochromatic
#100924 #271654 #3D2285 #532EB6 #734FD2

Accessibility & contrast

On white

11.89
#3D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2285
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2285#FFFFFF#000000##FFFFFF
##3D22851.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#213C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2285;
/* rgb */ color: rgb(61, 34, 133);
/* oklch */ color: oklch(35.4% 0.154 288.4);
Tailwind
colors: {
  custom: {
    50: '#7b60a9',
    500: '#3d2285',
    950: '#000000',
  },
}
SCSS
$custom: #3d2285;
$custom-light: #7b60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2285",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 256.364,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.354,
    "c": 0.15428,
    "h": 288.4
  },
  "luminance": 0.0383
}

Semantic roles & 50–950 ramp

primary
#3D2285
secondary
#99B64D
accent
#E245B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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