#3D2260#3D2260

#3D2260 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.2% C 0.106 H 300.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#3D2260
RGBrgb(61, 34, 96)
HSLhsl(266, 48%, 25%)
HSVhsv(266, 65%, 38%)
CMYKcmyk(36.5%, 64.6%, 0%, 62.4%)
CIE-LABlab(19.97, 27.28, -32.24)
CIE-LCHlch(19.97, 42.24, 310.23°)
OKLaboklab(32.17% 0.0541 -0.0915)
OKLCHoklch(32.17% 0.106 300.6)
XYZxyz(4.6073, 2.9807, 11.3967)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2260 #456022
analogous
#222660 #3D2260 #5C2260
triadic
#3D2260 #603D22 #22603D
tetradic
#3D2260 #602226 #456022 #22605C
square
#3D2260 #602226 #456022 #22605C
split-complementary
#3D2260 #605C22 #266022
monochromatic
#0E0817 #201233 #3D2260 #5A328D #7642BA

Accessibility & contrast

On white

13.16
#3D2260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3D2260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2260
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2260#FFFFFF#000000##FFFFFF
##3D22601.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#0E305F
Tritanopia (blue-blind)
#362F3D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3d2260;
/* rgb */ color: rgb(61, 34, 96);
/* oklch */ color: oklch(32.2% 0.106 300.6);
Tailwind
colors: {
  custom: {
    50: '#755e8e',
    500: '#3d2260',
    950: '#000000',
  },
}
SCSS
$custom: #3d2260;
$custom-light: #755e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2260",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 266.129,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32172,
    "c": 0.10628,
    "h": 300.6
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#3D2260
secondary
#74944A
accent
#D7519D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3D2260

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

Preview Lab → · Contrast checker → · Palette generator →

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