#3D22B3#3D22B3

#3D22B3 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.1% C 0.209 H 279.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3D22B3
RGBrgb(61, 34, 179)
HSLhsl(251, 68%, 42%)
HSVhsv(251, 81%, 70%)
CMYKcmyk(65.9%, 81%, 0%, 29.8%)
CIE-LABlab(27.82, 52.03, -71.32)
CIE-LCHlch(27.82, 88.28, 306.11°)
OKLaboklab(40.12% 0.0357 -0.2059)
OKLCHoklch(40.12% 0.209 279.8)
XYZxyz(10.6306, 5.3900, 43.1192)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22B3 #98B322
analogous
#2250B3 #3D22B3 #8522B3
triadic
#3D22B3 #B33D22 #22B33D
tetradic
#3D22B3 #B32250 #98B322 #22B385
square
#3D22B3 #B32250 #98B322 #22B385
split-complementary
#3D22B3 #B38522 #50B322
monochromatic
#1A0E4C #2B1880 #3D22B3 #5739D9 #826CE3

Accessibility & contrast

On white

10.10
#3D22B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D22B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22B3
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22B3#FFFFFF#000000##FFFFFF
##3D22B31.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B7
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d22b3;
/* rgb */ color: rgb(61, 34, 179);
/* oklch */ color: oklch(40.1% 0.209 279.8);
Tailwind
colors: {
  custom: {
    50: '#8362cb',
    500: '#3d22b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d22b3;
$custom-light: #8362cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22b3",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 251.172,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40115,
    "c": 0.20898,
    "h": 279.8
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#3D22B3
secondary
#B7C968
accent
#EB3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3D22B3

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

Preview Lab → · Contrast checker → · Palette generator →

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