#3D247C#3D247C

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

Color values

HEX#3D247C
RGBrgb(61, 36, 124)
HSLhsl(257, 55%, 31%)
HSVhsv(257, 71%, 49%)
CMYKcmyk(50.8%, 71%, 0%, 51.4%)
CIE-LABlab(22.68, 34.45, -45.95)
CIE-LCHlch(22.68, 57.43, 306.86°)
OKLaboklab(34.85% 0.0485 -0.1318)
OKLCHoklch(34.85% 0.14 290.2)
XYZxyz(6.1924, 3.7088, 19.4545)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D247C #637C24
analogous
#24377C #3D247C #69247C
triadic
#3D247C #7C3D24 #247C3D
tetradic
#3D247C #7C2437 #637C24 #247C69
square
#3D247C #7C2437 #637C24 #247C69
split-complementary
#3D247C #7C6924 #377C24
monochromatic
#0E081D #26164D #3D247C #5432AB #724FCC

Accessibility & contrast

On white

12.06
#3D247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3D247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D247C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D247C#FFFFFF#000000##FFFFFF
##3D247C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#283A4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d247c;
/* rgb */ color: rgb(61, 36, 124);
/* oklch */ color: oklch(34.9% 0.140 290.2);
Tailwind
colors: {
  custom: {
    50: '#7961a3',
    500: '#3d247c',
    950: '#000000',
  },
}
SCSS
$custom: #3d247c;
$custom-light: #7961a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d247c",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 257.045,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34852,
    "c": 0.14041,
    "h": 290.2
  },
  "luminance": 0.03709
}

Semantic roles & 50–950 ramp

primary
#3D247C
secondary
#93AE4D
accent
#DE49B4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D247C

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

Preview Lab → · Contrast checker → · Palette generator →

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