#3D2A7C#3D2A7C

#3D2A7C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.8% C 0.132 H 288.5°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#3D2A7C
RGBrgb(61, 42, 124)
HSLhsl(254, 49%, 33%)
HSVhsv(254, 66%, 49%)
CMYKcmyk(50.8%, 66.1%, 0%, 51.4%)
CIE-LABlab(24.01, 30.85, -43.79)
CIE-LCHlch(24.01, 53.57, 305.16°)
OKLaboklab(35.81% 0.042 -0.1254)
OKLCHoklch(35.81% 0.132 288.5)
XYZxyz(6.3895, 4.1030, 19.5202)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A7C #697C2A
analogous
#2A407C #3D2A7C #662A7C
triadic
#3D2A7C #7C3D2A #2A7C3D
tetradic
#3D2A7C #7C2A40 #697C2A #2A7C66
square
#3D2A7C #7C2A40 #697C2A #2A7C66
split-complementary
#3D2A7C #7C662A #407C2A
monochromatic
#100B21 #271B4E #3D2A7C #5339AA #7359C7

Accessibility & contrast

On white

11.53
#3D2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D2A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A7C
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A7C#FFFFFF#000000##FFFFFF
##3D2A7C1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00377A
Tritanopia (blue-blind)
#283E4F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2a7c;
/* rgb */ color: rgb(61, 42, 124);
/* oklch */ color: oklch(35.8% 0.132 288.5);
Tailwind
colors: {
  custom: {
    50: '#7865a3',
    500: '#3d2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a7c;
$custom-light: #7865a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a7c",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 253.902,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35807,
    "c": 0.13229,
    "h": 288.5
  },
  "luminance": 0.04103
}

Semantic roles & 50–950 ramp

primary
#3D2A7C
secondary
#98AD55
accent
#D94FB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09050F
muted
#7B7A7F

Preview Lab

Preview with #3D2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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