#3F29AA#3F29AA

#3F29AA is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.192 H 281.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3F29AA
RGBrgb(63, 41, 170)
HSLhsl(250, 61%, 41%)
HSVhsv(250, 76%, 67%)
CMYKcmyk(62.9%, 75.9%, 0%, 33.3%)
CIE-LABlab(28.23, 46.14, -65.24)
CIE-LCHlch(28.23, 79.91, 305.27°)
OKLaboklab(40.17% 0.0372 -0.1882)
OKLCHoklch(40.17% 0.192 281.2)
XYZxyz(10.0963, 5.5442, 38.5605)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29AA #94AA29
analogous
#2954AA #3F29AA #8029AA
triadic
#3F29AA #AA3F29 #29AA3F
tetradic
#3F29AA #AA2954 #94AA29 #29AA80
square
#3F29AA #AA2954 #94AA29 #29AA80
split-complementary
#3F29AA #AA8029 #54AA29
monochromatic
#1A1147 #2D1D79 #3F29AA #583FD1 #8371DD

Accessibility & contrast

On white

9.96
#3F29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29AA
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29AA#FFFFFF#000000##FFFFFF
##3F29AA1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f29aa;
/* rgb */ color: rgb(63, 41, 170);
/* oklch */ color: oklch(40.2% 0.192 281.2);
Tailwind
colors: {
  custom: {
    50: '#8266c4',
    500: '#3f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f29aa;
$custom-light: #8266c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29aa",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 250.233,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.19185,
    "h": 281.2
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#3F29AA
secondary
#B5C46B
accent
#E444C9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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