#3D249A#3D249A

#3D249A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.178 H 283.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#3D249A
RGBrgb(61, 36, 154)
HSLhsl(253, 62%, 37%)
HSVhsv(253, 77%, 60%)
CMYKcmyk(60.4%, 76.6%, 0%, 39.6%)
CIE-LABlab(25.52, 43.62, -59.99)
CIE-LCHlch(25.52, 74.17, 306.02°)
OKLaboklab(37.73% 0.0417 -0.1729)
OKLCHoklch(37.73% 0.178 283.6)
XYZxyz(8.3863, 4.5864, 31.0089)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D249A #819A24
analogous
#24469A #3D249A #78249A
triadic
#3D249A #9A3D24 #249A3D
tetradic
#3D249A #9A2446 #819A24 #249A78
square
#3D249A #9A2446 #819A24 #249A78
split-complementary
#3D249A #9A7824 #469A24
monochromatic
#160D37 #291868 #3D249A #5130CC #795FDA

Accessibility & contrast

On white

10.95
#3D249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D249A
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D249A#FFFFFF#000000##FFFFFF
##3D249A1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d249a;
/* rgb */ color: rgb(61, 36, 154);
/* oklch */ color: oklch(37.7% 0.178 283.6);
Tailwind
colors: {
  custom: {
    50: '#7e62b9',
    500: '#3d249a',
    950: '#000000',
  },
}
SCSS
$custom: #3d249a;
$custom-light: #7e62b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d249a",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 252.712,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.17787,
    "h": 283.6
  },
  "luminance": 0.04587
}

Semantic roles & 50–950 ramp

primary
#3D249A
secondary
#A9BF5B
accent
#E543C3
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D249A

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

Preview Lab → · Contrast checker → · Palette generator →

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