#3D2095#3D2095

#3D2095 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.176 H 285.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#3D2095
RGBrgb(61, 32, 149)
HSLhsl(255, 65%, 35%)
HSVhsv(255, 79%, 58%)
CMYKcmyk(59.1%, 78.5%, 0%, 41.6%)
CIE-LABlab(24.30, 44.15, -58.93)
CIE-LCHlch(24.30, 73.63, 306.84°)
OKLaboklab(36.73% 0.0459 -0.1698)
OKLCHoklch(36.73% 0.176 285.1)
XYZxyz(7.8641, 4.1946, 28.8232)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2095 #789520
analogous
#203D95 #3D2095 #772095
triadic
#3D2095 #953D20 #20953D
tetradic
#3D2095 #95203D #789520 #209577
square
#3D2095 #95203D #789520 #209577
split-complementary
#3D2095 #957720 #3D9520
monochromatic
#140A30 #281563 #3D2095 #522BC7 #7655DA

Accessibility & contrast

On white

11.42
#3D2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3D2095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2095
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2095#FFFFFF#000000##FFFFFF
##3D20951.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#0C425A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2095;
/* rgb */ color: rgb(61, 32, 149);
/* oklch */ color: oklch(36.7% 0.176 285.1);
Tailwind
colors: {
  custom: {
    50: '#7e60b5',
    500: '#3d2095',
    950: '#000000',
  },
}
SCSS
$custom: #3d2095;
$custom-light: #7e60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2095",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 254.872,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.17586,
    "h": 285.1
  },
  "luminance": 0.04195
}

Semantic roles & 50–950 ramp

primary
#3D2095
secondary
#A3BE53
accent
#E840BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2095

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

Preview Lab → · Contrast checker → · Palette generator →

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