#3D2E7C#3D2E7C

#3D2E7C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.5% C 0.127 H 287.2°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#3D2E7C
RGBrgb(61, 46, 124)
HSLhsl(252, 46%, 33%)
HSVhsv(252, 63%, 49%)
CMYKcmyk(50.8%, 62.9%, 0%, 51.4%)
CIE-LABlab(24.96, 28.34, -42.26)
CIE-LCHlch(24.96, 50.88, 303.85°)
OKLaboklab(36.5% 0.0375 -0.1209)
OKLCHoklch(36.5% 0.127 287.2)
XYZxyz(6.5385, 4.4010, 19.5698)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2E7C #6D7C2E
analogous
#2E467C #3D2E7C #642E7C
triadic
#3D2E7C #7C3D2E #2E7C3D
tetradic
#3D2E7C #7C2E46 #6D7C2E #2E7C64
square
#3D2E7C #7C2E46 #6D7C2E #2E7C64
split-complementary
#3D2E7C #7C642E #467C2E
monochromatic
#110D23 #271D4F #3D2E7C #533FA9 #7360C4

Accessibility & contrast

On white

11.17
#3D2E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2E7C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2E7C#FFFFFF#000000##FFFFFF
##3D2E7C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#274050
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2e7c;
/* rgb */ color: rgb(61, 46, 124);
/* oklch */ color: oklch(36.5% 0.127 287.2);
Tailwind
colors: {
  custom: {
    50: '#7867a2',
    500: '#3d2e7c',
    950: '#000000',
  },
}
SCSS
$custom: #3d2e7c;
$custom-light: #7867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2e7c",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 251.538,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36496,
    "c": 0.12658,
    "h": 287.2
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#3D2E7C
secondary
#9BAB5B
accent
#D652BC
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09060F
muted
#7B7A7F

Preview Lab

Preview with #3D2E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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