#3D247B#3D247B

#3D247B is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.8% C 0.139 H 290.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#3D247B
RGBrgb(61, 36, 123)
HSLhsl(257, 55%, 31%)
HSVhsv(257, 71%, 48%)
CMYKcmyk(50.4%, 70.7%, 0%, 51.8%)
CIE-LABlab(22.60, 34.14, -45.46)
CIE-LCHlch(22.60, 56.85, 306.91°)
OKLaboklab(34.76% 0.0487 -0.1303)
OKLCHoklch(34.76% 0.139 290.5)
XYZxyz(6.1295, 3.6837, 19.1231)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D247B #627B24
analogous
#24367B #3D247B #68247B
triadic
#3D247B #7B3D24 #247B3D
tetradic
#3D247B #7B2436 #627B24 #247B68
square
#3D247B #7B2436 #627B24 #247B68
split-complementary
#3D247B #7B6824 #367B24
monochromatic
#0E081C #26164C #3D247B #5432AA #724ECB

Accessibility & contrast

On white

12.09
#3D247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D247B
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D247B#FFFFFF#000000##FFFFFF
##3D247B1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#293A4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d247b;
/* rgb */ color: rgb(61, 36, 123);
/* oklch */ color: oklch(34.8% 0.139 290.5);
Tailwind
colors: {
  custom: {
    50: '#7961a2',
    500: '#3d247b',
    950: '#000000',
  },
}
SCSS
$custom: #3d247b;
$custom-light: #7961a2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d247b",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 257.241,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34762,
    "c": 0.13911,
    "h": 290.5
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#3D247B
secondary
#92AD4D
accent
#DE4AB3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A050F
muted
#7C797F

Preview Lab

Preview with #3D247B

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

Preview Lab → · Contrast checker → · Palette generator →

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