#3D2290#3D2290

#3D2290 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.168 H 285.9°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#3D2290
RGBrgb(61, 34, 144)
HSLhsl(255, 62%, 35%)
HSVhsv(255, 76%, 56%)
CMYKcmyk(57.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(24.16, 41.64, -56.08)
CIE-LCHlch(24.16, 69.84, 306.59°)
OKLaboklab(36.47% 0.0459 -0.1614)
OKLCHoklch(36.47% 0.168 285.9)
XYZxyz(7.5290, 4.1493, 26.7843)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2290 #759022
analogous
#223E90 #3D2290 #742290
triadic
#3D2290 #903D22 #22903D
tetradic
#3D2290 #90223E #759022 #229074
square
#3D2290 #90223E #759022 #229074
split-complementary
#3D2290 #907422 #3E9022
monochromatic
#130B2D #28165E #3D2290 #522EC2 #7555D7

Accessibility & contrast

On white

11.48
#3D2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2290
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2290#FFFFFF#000000##FFFFFF
##3D22901.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#154157
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d2290;
/* rgb */ color: rgb(61, 34, 144);
/* oklch */ color: oklch(36.5% 0.168 285.9);
Tailwind
colors: {
  custom: {
    50: '#7d60b2',
    500: '#3d2290',
    950: '#000000',
  },
}
SCSS
$custom: #3d2290;
$custom-light: #7d60b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2290",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 254.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36472,
    "c": 0.16782,
    "h": 285.9
  },
  "luminance": 0.0415
}

Semantic roles & 50–950 ramp

primary
#3D2290
secondary
#A1BB53
accent
#E543BD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D2290

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

Preview Lab → · Contrast checker → · Palette generator →

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