#3F29A5#3F29A5

#3F29A5 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.186 H 281.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3F29A5
RGBrgb(63, 41, 165)
HSLhsl(251, 60%, 40%)
HSVhsv(251, 75%, 65%)
CMYKcmyk(61.8%, 75.2%, 0%, 35.3%)
CIE-LABlab(27.73, 44.61, -63.04)
CIE-LCHlch(27.73, 77.23, 305.28°)
OKLaboklab(39.66% 0.0384 -0.1818)
OKLCHoklch(39.66% 0.186 281.9)
XYZxyz(9.6322, 5.3586, 36.1167)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29A5 #8FA529
analogous
#2951A5 #3F29A5 #7D29A5
triadic
#3F29A5 #A53F29 #29A53F
tetradic
#3F29A5 #A52951 #8FA529 #29A57D
square
#3F29A5 #A52951 #8FA529 #29A57D
split-complementary
#3F29A5 #A57D29 #51A529
monochromatic
#1A1143 #2C1D74 #3F29A5 #563DCF #816EDB

Accessibility & contrast

On white

10.14
#3F29A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3F29A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29A5
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29A5#FFFFFF#000000##FFFFFF
##3F29A51.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f29a5;
/* rgb */ color: rgb(63, 41, 165);
/* oklch */ color: oklch(39.7% 0.186 281.9);
Tailwind
colors: {
  custom: {
    50: '#8166c1',
    500: '#3f29a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f29a5;
$custom-light: #8166c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29a5",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 165
  },
  "hsl": {
    "h": 250.645,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.18581,
    "h": 281.9
  },
  "luminance": 0.05359
}

Semantic roles & 50–950 ramp

primary
#3F29A5
secondary
#B2C268
accent
#E344C7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #3F29A5

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

Preview Lab → · Contrast checker → · Palette generator →

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