#3D2490#3D2490

#3D2490 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.166 H 285.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#3D2490
RGBrgb(61, 36, 144)
HSLhsl(254, 60%, 35%)
HSVhsv(254, 75%, 56%)
CMYKcmyk(57.6%, 75%, 0%, 43.5%)
CIE-LABlab(24.54, 40.57, -55.46)
CIE-LCHlch(24.54, 68.71, 306.19°)
OKLaboklab(36.74% 0.0443 -0.1596)
OKLCHoklch(36.74% 0.166 285.5)
XYZxyz(7.5879, 4.2670, 26.8039)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2490 #779024
analogous
#244190 #3D2490 #732490
triadic
#3D2490 #903D24 #24903D
tetradic
#3D2490 #902441 #779024 #249073
square
#3D2490 #902441 #779024 #249073
split-complementary
#3D2490 #907324 #419024
monochromatic
#140C2E #28185F #3D2490 #5230C1 #7659D5

Accessibility & contrast

On white

11.33
#3D2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#3D2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2490
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2490#FFFFFF#000000##FFFFFF
##3D24901.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#154258
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3d2490;
/* rgb */ color: rgb(61, 36, 144);
/* oklch */ color: oklch(36.7% 0.166 285.5);
Tailwind
colors: {
  custom: {
    50: '#7c62b2',
    500: '#3d2490',
    950: '#000000',
  },
}
SCSS
$custom: #3d2490;
$custom-light: #7c62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2490",
  "rgb": {
    "r": 61,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 253.889,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36737,
    "c": 0.16566,
    "h": 285.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#3D2490
secondary
#A3BA56
accent
#E345BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2490

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

Preview Lab → · Contrast checker → · Palette generator →

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