#3D249E#3D249E

#3D249E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.183 H 282.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3D249E
RGBrgb(61, 36, 158)
HSLhsl(252, 63%, 38%)
HSVhsv(252, 77%, 62%)
CMYKcmyk(61.4%, 77.2%, 0%, 38%)
CIE-LABlab(25.93, 44.83, -61.77)
CIE-LCHlch(25.93, 76.33, 305.97°)
OKLaboklab(38.14% 0.0407 -0.1781)
OKLCHoklch(38.14% 0.183 282.9)
XYZxyz(8.7250, 4.7219, 32.7928)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D249E #859E24
analogous
#24489E #3D249E #7A249E
triadic
#3D249E #9E3D24 #249E3D
tetradic
#3D249E #9E2448 #859E24 #249E7A
square
#3D249E #9E2448 #859E24 #249E7A
split-complementary
#3D249E #9E7A24 #489E24
monochromatic
#170D3A #2A196C #3D249E #502FD0 #7A61DB

Accessibility & contrast

On white

10.80
#3D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D249E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D249E#FFFFFF#000000##FFFFFF
##3D249E1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d249e;
/* rgb */ color: rgb(61, 36, 158);
/* oklch */ color: oklch(38.1% 0.183 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f62bc',
    500: '#3d249e',
    950: '#000000',
  },
}
SCSS
$custom: #3d249e;
$custom-light: #7f62bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d249e",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 252.295,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.18269,
    "h": 282.9
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#3D249E
secondary
#ACC05E
accent
#E642C4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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