#3D247D#3D247D

#3D247D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.9% C 0.142 H 289.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#3D247D
RGBrgb(61, 36, 125)
HSLhsl(257, 55%, 32%)
HSVhsv(257, 71%, 49%)
CMYKcmyk(51.2%, 71.2%, 0%, 51%)
CIE-LABlab(22.77, 34.75, -46.44)
CIE-LCHlch(22.77, 58.00, 306.81°)
OKLaboklab(34.94% 0.0483 -0.1332)
OKLCHoklch(34.94% 0.142 289.9)
XYZxyz(6.2560, 3.7343, 19.7892)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D247D #647D24
analogous
#24387D #3D247D #6A247D
triadic
#3D247D #7D3D24 #247D3D
tetradic
#3D247D #7D2438 #647D24 #247D6A
square
#3D247D #7D2438 #647D24 #247D6A
split-complementary
#3D247D #7D6A24 #387D24
monochromatic
#0F091E #26164D #3D247D #5432AD #724FCC

Accessibility & contrast

On white

12.02
#3D247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D247D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D247D#FFFFFF#000000##FFFFFF
##3D247D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#273B4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d247d;
/* rgb */ color: rgb(61, 36, 125);
/* oklch */ color: oklch(34.9% 0.142 289.9);
Tailwind
colors: {
  custom: {
    50: '#7961a3',
    500: '#3d247d',
    950: '#000000',
  },
}
SCSS
$custom: #3d247d;
$custom-light: #7961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d247d",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 256.854,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34942,
    "c": 0.1417,
    "h": 289.9
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#3D247D
secondary
#94AF4D
accent
#DF49B5
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D247D

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

Preview Lab → · Contrast checker → · Palette generator →

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