#3D22B4#3D22B4

#3D22B4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.2% C 0.210 H 279.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3D22B4
RGBrgb(61, 34, 180)
HSLhsl(251, 68%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(66.1%, 81.1%, 0%, 29.4%)
CIE-LABlab(27.93, 52.32, -71.74)
CIE-LCHlch(27.93, 88.79, 306.11°)
OKLaboklab(40.22% 0.0354 -0.2071)
OKLCHoklch(40.22% 0.21 279.7)
XYZxyz(10.7321, 5.4306, 43.6538)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22B4 #99B422
analogous
#2250B4 #3D22B4 #8622B4
triadic
#3D22B4 #B43D22 #22B43D
tetradic
#3D22B4 #B42250 #99B422 #22B486
square
#3D22B4 #B42250 #99B422 #22B486
split-complementary
#3D22B4 #B48622 #50B422
monochromatic
#1A0F4D #2C1881 #3D22B4 #573ADA #836DE3

Accessibility & contrast

On white

10.07
#3D22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3D22B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22B4
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22B4#FFFFFF#000000##FFFFFF
##3D22B41.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d22b4;
/* rgb */ color: rgb(61, 34, 180);
/* oklch */ color: oklch(40.2% 0.210 279.7);
Tailwind
colors: {
  custom: {
    50: '#8363cc',
    500: '#3d22b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d22b4;
$custom-light: #8363cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22b4",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 251.096,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.21012,
    "h": 279.7
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#3D22B4
secondary
#B8CA68
accent
#EB3DCB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3D22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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