#3D22AF#3D22AF

#3D22AF is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.204 H 280.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#3D22AF
RGBrgb(61, 34, 175)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 81%, 69%)
CMYKcmyk(65.1%, 80.6%, 0%, 31.4%)
CIE-LABlab(27.38, 50.86, -69.65)
CIE-LCHlch(27.38, 86.25, 306.14°)
OKLaboklab(39.68% 0.0369 -0.201)
OKLCHoklch(39.68% 0.204 280.4)
XYZxyz(10.2319, 5.2305, 41.0195)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22AF #94AF22
analogous
#224EAF #3D22AF #8322AF
triadic
#3D22AF #AF3D22 #22AF3D
tetradic
#3D22AF #AF224E #94AF22 #22AF83
square
#3D22AF #AF224E #94AF22 #22AF83
split-complementary
#3D22AF #AF8322 #4EAF22
monochromatic
#190E49 #2B187C #3D22AF #5536D8 #8169E2

Accessibility & contrast

On white

10.26
#3D22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3D22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22AF
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22AF#FFFFFF#000000##FFFFFF
##3D22AF1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d22af;
/* rgb */ color: rgb(61, 34, 175);
/* oklch */ color: oklch(39.7% 0.204 280.4);
Tailwind
colors: {
  custom: {
    50: '#8262c8',
    500: '#3d22af',
    950: '#000000',
  },
}
SCSS
$custom: #3d22af;
$custom-light: #8262c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22af",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 251.489,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39684,
    "c": 0.20441,
    "h": 280.4
  },
  "luminance": 0.05231
}

Semantic roles & 50–950 ramp

primary
#3D22AF
secondary
#B5C865
accent
#EA3DC9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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