#3F22A9#3F22A9

#3F22A9 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.197 H 282.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3F22A9
RGBrgb(63, 34, 169)
HSLhsl(253, 67%, 40%)
HSVhsv(253, 80%, 66%)
CMYKcmyk(62.7%, 79.9%, 0%, 33.7%)
CIE-LABlab(26.92, 49.31, -66.80)
CIE-LCHlch(26.92, 83.03, 306.44°)
OKLaboklab(39.22% 0.0417 -0.1927)
OKLCHoklch(39.22% 0.197 282.2)
XYZxyz(9.7811, 5.0647, 37.9906)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F22A9 #8CA922
analogous
#2249A9 #3F22A9 #8322A9
triadic
#3F22A9 #A93F22 #22A93F
tetradic
#3F22A9 #A92249 #8CA922 #22A983
square
#3F22A9 #A92249 #8CA922 #22A983
split-complementary
#3F22A9 #A98322 #49A922
monochromatic
#190D43 #2C1876 #3F22A9 #5532D6 #8065E0

Accessibility & contrast

On white

10.43
#3F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F22A9
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F22A9#FFFFFF#000000##FFFFFF
##3F22A91.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f22a9;
/* rgb */ color: rgb(63, 34, 169);
/* oklch */ color: oklch(39.2% 0.197 282.2);
Tailwind
colors: {
  custom: {
    50: '#8262c4',
    500: '#3f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #3f22a9;
$custom-light: #8262c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f22a9",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 252.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.19717,
    "h": 282.2
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#3F22A9
secondary
#B0C561
accent
#E93EC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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