#3F29A4#3F29A4

#3F29A4 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.185 H 282.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3F29A4
RGBrgb(63, 41, 164)
HSLhsl(251, 60%, 40%)
HSVhsv(251, 75%, 64%)
CMYKcmyk(61.6%, 75%, 0%, 35.7%)
CIE-LABlab(27.63, 44.30, -62.60)
CIE-LCHlch(27.63, 76.69, 305.29°)
OKLaboklab(39.57% 0.0386 -0.1805)
OKLCHoklch(39.57% 0.185 282.1)
XYZxyz(9.5416, 5.3223, 35.6393)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29A4 #8EA429
analogous
#2950A4 #3F29A4 #7D29A4
triadic
#3F29A4 #A43F29 #29A43F
tetradic
#3F29A4 #A42950 #8EA429 #29A47D
square
#3F29A4 #A42950 #8EA429 #29A47D
split-complementary
#3F29A4 #A47D29 #50A429
monochromatic
#191142 #2C1D73 #3F29A4 #563CCE #816DDA

Accessibility & contrast

On white

10.17
#3F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F29A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29A4
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29A4#FFFFFF#000000##FFFFFF
##3F29A41.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003DA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f29a4;
/* rgb */ color: rgb(63, 41, 164);
/* oklch */ color: oklch(39.6% 0.185 282.1);
Tailwind
colors: {
  custom: {
    50: '#8166c0',
    500: '#3f29a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f29a4;
$custom-light: #8166c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29a4",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 250.732,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39565,
    "c": 0.1846,
    "h": 282.1
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#3F29A4
secondary
#B1C168
accent
#E345C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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