#3F22AE#3F22AE

#3F22AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.7% C 0.203 H 281.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3F22AE
RGBrgb(63, 34, 174)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 68%)
CMYKcmyk(63.8%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.45, 50.77, -68.93)
CIE-LCHlch(27.45, 85.61, 306.38°)
OKLaboklab(39.75% 0.0402 -0.1989)
OKLCHoklch(39.75% 0.203 281.4)
XYZxyz(10.2595, 5.2560, 40.5101)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F22AE #91AE22
analogous
#224BAE #3F22AE #8522AE
triadic
#3F22AE #AE3F22 #22AE3F
tetradic
#3F22AE #AE224B #91AE22 #22AE85
square
#3F22AE #AE224B #91AE22 #22AE85
split-complementary
#3F22AE #AE8522 #4BAE22
monochromatic
#1A0E48 #2C187B #3F22AE #5736D8 #8269E2

Accessibility & contrast

On white

10.24
#3F22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F22AE
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F22AE#FFFFFF#000000##FFFFFF
##3F22AE1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f22ae;
/* rgb */ color: rgb(63, 34, 174);
/* oklch */ color: oklch(39.7% 0.203 281.4);
Tailwind
colors: {
  custom: {
    50: '#8362c7',
    500: '#3f22ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f22ae;
$custom-light: #8362c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f22ae",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 252.429,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39745,
    "c": 0.20291,
    "h": 281.4
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#3F22AE
secondary
#B3C764
accent
#EA3EC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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