#3D249C#3D249C

#3D249C is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.180 H 283.2°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#3D249C
RGBrgb(61, 36, 156)
HSLhsl(253, 63%, 38%)
HSVhsv(253, 77%, 61%)
CMYKcmyk(60.9%, 76.9%, 0%, 38.8%)
CIE-LABlab(25.72, 44.22, -60.89)
CIE-LCHlch(25.72, 75.25, 305.99°)
OKLaboklab(37.93% 0.0412 -0.1755)
OKLCHoklch(37.93% 0.18 283.2)
XYZxyz(8.5542, 4.6536, 31.8935)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D249C #839C24
analogous
#24479C #3D249C #79249C
triadic
#3D249C #9C3D24 #249C3D
tetradic
#3D249C #9C2447 #839C24 #249C79
square
#3D249C #9C2447 #839C24 #249C79
split-complementary
#3D249C #9C7924 #479C24
monochromatic
#160D39 #2A196A #3D249C #502FCE #7A60DA

Accessibility & contrast

On white

10.88
#3D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D249C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D249C#FFFFFF#000000##FFFFFF
##3D249C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d249c;
/* rgb */ color: rgb(61, 36, 156);
/* oklch */ color: oklch(37.9% 0.180 283.2);
Tailwind
colors: {
  custom: {
    50: '#7f62ba',
    500: '#3d249c',
    950: '#000000',
  },
}
SCSS
$custom: #3d249c;
$custom-light: #7f62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d249c",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 252.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.18029,
    "h": 283.2
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#3D249C
secondary
#ABBF5C
accent
#E642C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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