#3D2495#3D2495

#3D2495 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.172 H 284.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3D2495
RGBrgb(61, 36, 149)
HSLhsl(253, 61%, 36%)
HSVhsv(253, 76%, 58%)
CMYKcmyk(59.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(25.02, 42.10, -57.74)
CIE-LCHlch(25.02, 71.46, 306.09°)
OKLaboklab(37.23% 0.043 -0.1663)
OKLCHoklch(37.23% 0.172 284.5)
XYZxyz(7.9785, 4.4233, 28.8613)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2495 #7C9524
analogous
#244495 #3D2495 #762495
triadic
#3D2495 #953D24 #24953D
tetradic
#3D2495 #952444 #7C9524 #249576
square
#3D2495 #952444 #7C9524 #249576
split-complementary
#3D2495 #957624 #449524
monochromatic
#150C32 #291864 #3D2495 #5130C6 #775CD8

Accessibility & contrast

On white

11.14
#3D2495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D2495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2495
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2495#FFFFFF#000000##FFFFFF
##3D24951.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#0B445B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2495;
/* rgb */ color: rgb(61, 36, 149);
/* oklch */ color: oklch(37.2% 0.172 284.5);
Tailwind
colors: {
  custom: {
    50: '#7d62b5',
    500: '#3d2495',
    950: '#000000',
  },
}
SCSS
$custom: #3d2495;
$custom-light: #7d62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2495",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 253.274,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3723,
    "c": 0.1718,
    "h": 284.5
  },
  "luminance": 0.04424
}

Semantic roles & 50–950 ramp

primary
#3D2495
secondary
#A6BC59
accent
#E444C1
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2495

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

Preview Lab → · Contrast checker → · Palette generator →

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