#3F22B4#3F22B4

#3F22B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.210 H 280.5°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3F22B4
RGBrgb(63, 34, 180)
HSLhsl(252, 68%, 42%)
HSVhsv(252, 81%, 71%)
CMYKcmyk(65%, 81.1%, 0%, 29.4%)
CIE-LABlab(28.10, 52.51, -71.44)
CIE-LCHlch(28.10, 88.67, 306.32°)
OKLaboklab(40.39% 0.0383 -0.2062)
OKLCHoklch(40.39% 0.21 280.5)
XYZxyz(10.8575, 5.4952, 43.6597)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F22B4 #97B422
analogous
#224EB4 #3F22B4 #8822B4
triadic
#3F22B4 #B43F22 #22B43F
tetradic
#3F22B4 #B4224E #97B422 #22B488
square
#3F22B4 #B4224E #97B422 #22B488
split-complementary
#3F22B4 #B48822 #4EB422
monochromatic
#1B0F4D #2D1881 #3F22B4 #593ADA #856DE3

Accessibility & contrast

On white

10.00
#3F22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F22B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F22B4
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F22B4#FFFFFF#000000##FFFFFF
##3F22B41.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f22b4;
/* rgb */ color: rgb(63, 34, 180);
/* oklch */ color: oklch(40.4% 0.210 280.5);
Tailwind
colors: {
  custom: {
    50: '#8463cc',
    500: '#3f22b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f22b4;
$custom-light: #8463cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f22b4",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 251.918,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.20975,
    "h": 280.5
  },
  "luminance": 0.05496
}

Semantic roles & 50–950 ramp

primary
#3F22B4
secondary
#B6CA68
accent
#EB3DC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3F22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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