#3F29A9#3F29A9

#3F29A9 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.191 H 281.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#3F29A9
RGBrgb(63, 41, 169)
HSLhsl(250, 61%, 41%)
HSVhsv(250, 76%, 66%)
CMYKcmyk(62.7%, 75.7%, 0%, 33.7%)
CIE-LABlab(28.13, 45.84, -64.80)
CIE-LCHlch(28.13, 79.37, 305.27°)
OKLaboklab(40.07% 0.0374 -0.1869)
OKLCHoklch(40.07% 0.191 281.3)
XYZxyz(10.0020, 5.5065, 38.0642)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29A9 #93A929
analogous
#2953A9 #3F29A9 #7F29A9
triadic
#3F29A9 #A93F29 #29A93F
tetradic
#3F29A9 #A92953 #93A929 #29A97F
square
#3F29A9 #A92953 #93A929 #29A97F
split-complementary
#3F29A9 #A97F29 #53A929
monochromatic
#1A1146 #2D1D78 #3F29A9 #583FD0 #8370DC

Accessibility & contrast

On white

9.99
#3F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29A9
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29A9#FFFFFF#000000##FFFFFF
##3F29A91.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003EA7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f29a9;
/* rgb */ color: rgb(63, 41, 169);
/* oklch */ color: oklch(40.1% 0.191 281.3);
Tailwind
colors: {
  custom: {
    50: '#8266c4',
    500: '#3f29a9',
    950: '#000000',
  },
}
SCSS
$custom: #3f29a9;
$custom-light: #8266c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29a9",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 250.313,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40065,
    "c": 0.19064,
    "h": 281.3
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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