#3F29AB#3F29AB

#3F29AB is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.193 H 281.0°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3F29AB
RGBrgb(63, 41, 171)
HSLhsl(250, 61%, 42%)
HSVhsv(250, 76%, 67%)
CMYKcmyk(63.2%, 76%, 0%, 32.9%)
CIE-LABlab(28.33, 46.45, -65.67)
CIE-LCHlch(28.33, 80.44, 305.27°)
OKLaboklab(40.27% 0.0369 -0.1895)
OKLCHoklch(40.27% 0.193 281)
XYZxyz(10.1912, 5.5822, 39.0606)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29AB #95AB29
analogous
#2954AB #3F29AB #8029AB
triadic
#3F29AB #AB3F29 #29AB3F
tetradic
#3F29AB #AB2954 #95AB29 #29AB80
square
#3F29AB #AB2954 #95AB29 #29AB80
split-complementary
#3F29AB #AB8029 #54AB29
monochromatic
#1B1148 #2D1D7A #3F29AB #5940D1 #8471DD

Accessibility & contrast

On white

9.92
#3F29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29AB
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29AB#FFFFFF#000000##FFFFFF
##3F29AB1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AF
Deuteranopia (green-blind)
#003EA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f29ab;
/* rgb */ color: rgb(63, 41, 171);
/* oklch */ color: oklch(40.3% 0.193 281.0);
Tailwind
colors: {
  custom: {
    50: '#8266c5',
    500: '#3f29ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f29ab;
$custom-light: #8266c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29ab",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 250.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.19304,
    "h": 281
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#3F29AB
secondary
#B5C46C
accent
#E443C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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