#3D22A1#3D22A1

#3D22A1 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.188 H 282.6°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3D22A1
RGBrgb(61, 34, 161)
HSLhsl(253, 65%, 38%)
HSVhsv(253, 79%, 63%)
CMYKcmyk(62.1%, 78.9%, 0%, 36.9%)
CIE-LABlab(25.89, 46.73, -63.66)
CIE-LCHlch(25.89, 78.97, 306.28°)
OKLaboklab(38.2% 0.0411 -0.1836)
OKLCHoklch(38.2% 0.188 282.6)
XYZxyz(8.9275, 4.7087, 34.1497)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22A1 #86A122
analogous
#2246A1 #3D22A1 #7C22A1
triadic
#3D22A1 #A13D22 #22A13D
tetradic
#3D22A1 #A12246 #86A122 #22A17C
square
#3D22A1 #A12246 #86A122 #22A17C
split-complementary
#3D22A1 #A17C22 #46A122
monochromatic
#170D3C #2A176E #3D22A1 #512DD3 #7B60DD

Accessibility & contrast

On white

10.81
#3D22A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D22A1
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22A1#FFFFFF#000000##FFFFFF
##3D22A11.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00399F
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d22a1;
/* rgb */ color: rgb(61, 34, 161);
/* oklch */ color: oklch(38.2% 0.188 282.6);
Tailwind
colors: {
  custom: {
    50: '#8061be',
    500: '#3d22a1',
    950: '#000000',
  },
}
SCSS
$custom: #3d22a1;
$custom-light: #8061be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22a1",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 252.756,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38203,
    "c": 0.18815,
    "h": 282.6
  },
  "luminance": 0.04709
}

Semantic roles & 50–950 ramp

primary
#3D22A1
secondary
#ADC25D
accent
#E840C4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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