#3F29AD#3F29AD

#3F29AD is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.195 H 280.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3F29AD
RGBrgb(63, 41, 173)
HSLhsl(250, 62%, 42%)
HSVhsv(250, 76%, 68%)
CMYKcmyk(63.6%, 76.3%, 0%, 32.2%)
CIE-LABlab(28.54, 47.06, -66.54)
CIE-LCHlch(28.54, 81.50, 305.27°)
OKLaboklab(40.47% 0.0364 -0.192)
OKLCHoklch(40.47% 0.195 280.7)
XYZxyz(10.3833, 5.6590, 40.0722)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29AD #97AD29
analogous
#2955AD #3F29AD #8129AD
triadic
#3F29AD #AD3F29 #29AD3F
tetradic
#3F29AD #AD2955 #97AD29 #29AD81
square
#3F29AD #AD2955 #97AD29 #29AD81
split-complementary
#3F29AD #AD8129 #55AD29
monochromatic
#1B124A #2D1D7C #3F29AD #5941D2 #8573DE

Accessibility & contrast

On white

9.85
#3F29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3F29AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29AD
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29AD#FFFFFF#000000##FFFFFF
##3F29AD1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B1
Deuteranopia (green-blind)
#003EAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f29ad;
/* rgb */ color: rgb(63, 41, 173);
/* oklch */ color: oklch(40.5% 0.195 280.7);
Tailwind
colors: {
  custom: {
    50: '#8266c7',
    500: '#3f29ad',
    950: '#000000',
  },
}
SCSS
$custom: #3f29ad;
$custom-light: #8266c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29ad",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 250,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.19543,
    "h": 280.7
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#3F29AD
secondary
#B6C56D
accent
#E543CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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