#3D22A0#3D22A0

#3D22A0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.187 H 282.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3D22A0
RGBrgb(61, 34, 160)
HSLhsl(253, 65%, 38%)
HSVhsv(253, 79%, 63%)
CMYKcmyk(61.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(25.78, 46.43, -63.23)
CIE-LCHlch(25.78, 78.45, 306.29°)
OKLaboklab(38.1% 0.0414 -0.1823)
OKLCHoklch(38.1% 0.187 282.8)
XYZxyz(8.8397, 4.6736, 33.6872)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D22A0 #85A022
analogous
#2246A0 #3D22A0 #7C22A0
triadic
#3D22A0 #A03D22 #22A03D
tetradic
#3D22A0 #A02246 #85A022 #22A07C
square
#3D22A0 #A02246 #85A022 #22A07C
split-complementary
#3D22A0 #A07C22 #46A022
monochromatic
#170D3B #2A176E #3D22A0 #502DD2 #7A5FDD

Accessibility & contrast

On white

10.85
#3D22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D22A0
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D22A0#FFFFFF#000000##FFFFFF
##3D22A01.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d22a0;
/* rgb */ color: rgb(61, 34, 160);
/* oklch */ color: oklch(38.1% 0.187 282.8);
Tailwind
colors: {
  custom: {
    50: '#8061bd',
    500: '#3d22a0',
    950: '#000000',
  },
}
SCSS
$custom: #3d22a0;
$custom-light: #8061bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d22a0",
  "rgb": {
    "r": 61,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 252.857,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38099,
    "c": 0.18697,
    "h": 282.8
  },
  "luminance": 0.04674
}

Semantic roles & 50–950 ramp

primary
#3D22A0
secondary
#ACC25C
accent
#E840C4
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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