#3D249B#3D249B

#3D249B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.179 H 283.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#3D249B
RGBrgb(61, 36, 155)
HSLhsl(253, 62%, 37%)
HSVhsv(253, 77%, 61%)
CMYKcmyk(60.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(25.62, 43.92, -60.44)
CIE-LCHlch(25.62, 74.71, 306.01°)
OKLaboklab(37.83% 0.0415 -0.1742)
OKLCHoklch(37.83% 0.179 283.4)
XYZxyz(8.4699, 4.6198, 31.4494)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D249B #829B24
analogous
#24469B #3D249B #79249B
triadic
#3D249B #9B3D24 #249B3D
tetradic
#3D249B #9B2446 #829B24 #249B79
square
#3D249B #9B2446 #829B24 #249B79
split-complementary
#3D249B #9B7924 #469B24
monochromatic
#160D38 #291869 #3D249B #5130CD #795FDA

Accessibility & contrast

On white

10.91
#3D249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D249B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D249B#FFFFFF#000000##FFFFFF
##3D249B1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d249b;
/* rgb */ color: rgb(61, 36, 155);
/* oklch */ color: oklch(37.8% 0.179 283.4);
Tailwind
colors: {
  custom: {
    50: '#7e62ba',
    500: '#3d249b',
    950: '#000000',
  },
}
SCSS
$custom: #3d249b;
$custom-light: #7e62ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d249b",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 252.605,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37833,
    "c": 0.17909,
    "h": 283.4
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#3D249B
secondary
#AABF5C
accent
#E542C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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