#3D2D8B#3D2D8B

#3D2D8B is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.6% C 0.148 H 284.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3D2D8B
RGBrgb(61, 45, 139)
HSLhsl(250, 51%, 36%)
HSVhsv(250, 68%, 55%)
CMYKcmyk(56.1%, 67.6%, 0%, 45.5%)
CIE-LABlab(25.96, 33.81, -50.02)
CIE-LCHlch(25.96, 60.38, 304.05°)
OKLaboklab(37.61% 0.0371 -0.1437)
OKLCHoklch(37.61% 0.148 284.5)
XYZxyz(7.5216, 4.7325, 24.9382)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D8B #7B8B2D
analogous
#2D4C8B #3D2D8B #6C2D8B
triadic
#3D2D8B #8B3D2D #2D8B3D
tetradic
#3D2D8B #8B2D4C #7B8B2D #2D8B6C
square
#3D2D8B #8B2D4C #7B8B2D #2D8B6C
split-complementary
#3D2D8B #8B6C2D #4C8B2D
monochromatic
#140F2F #291E5D #3D2D8B #513CB9 #7765CD

Accessibility & contrast

On white

10.79
#3D2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3D2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D8B
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D8B#FFFFFF#000000##FFFFFF
##3D2D8B1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#1A4558
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d2d8b;
/* rgb */ color: rgb(61, 45, 139);
/* oklch */ color: oklch(37.6% 0.148 284.5);
Tailwind
colors: {
  custom: {
    50: '#7b67ae',
    500: '#3d2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d8b;
$custom-light: #7b67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d8b",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 250.213,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.14846,
    "h": 284.5
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#3D2D8B
secondary
#A6B460
accent
#DB4DC3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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