#3D2679#3D2679

#3D2679 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.134 H 290.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#3D2679
RGBrgb(61, 38, 121)
HSLhsl(257, 52%, 31%)
HSVhsv(257, 69%, 47%)
CMYKcmyk(49.6%, 68.6%, 0%, 52.5%)
CIE-LABlab(22.86, 32.35, -43.76)
CIE-LCHlch(22.86, 54.42, 306.47°)
OKLaboklab(34.89% 0.0469 -0.1253)
OKLCHoklch(34.89% 0.134 290.5)
XYZxyz(6.0678, 3.7586, 18.4912)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2679 #627926
analogous
#263879 #3D2679 #662679
triadic
#3D2679 #793D26 #26793D
tetradic
#3D2679 #792638 #627926 #267966
square
#3D2679 #792638 #627926 #267966
split-complementary
#3D2679 #796626 #387926
monochromatic
#0E091C #26174A #3D2679 #5435A8 #7251C8

Accessibility & contrast

On white

11.99
#3D2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3D2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2679
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2679#FFFFFF#000000##FFFFFF
##3D26791.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#2A3A4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d2679;
/* rgb */ color: rgb(61, 38, 121);
/* oklch */ color: oklch(34.9% 0.134 290.5);
Tailwind
colors: {
  custom: {
    50: '#7862a0',
    500: '#3d2679',
    950: '#000000',
  },
}
SCSS
$custom: #3d2679;
$custom-light: #7862a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2679",
  "rgb": {
    "r": 61,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 256.627,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34895,
    "c": 0.1338,
    "h": 290.5
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#3D2679
secondary
#92AB50
accent
#DC4CB4
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050F
muted
#7B797E

Preview Lab

Preview with #3D2679

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

Preview Lab → · Contrast checker → · Palette generator →

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