#3F29A2#3F29A2

#3F29A2 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.182 H 282.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#3F29A2
RGBrgb(63, 41, 162)
HSLhsl(251, 60%, 40%)
HSVhsv(251, 75%, 64%)
CMYKcmyk(61.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(27.44, 43.69, -61.71)
CIE-LCHlch(27.44, 75.61, 305.29°)
OKLaboklab(39.37% 0.0391 -0.1779)
OKLCHoklch(39.37% 0.182 282.4)
XYZxyz(9.3624, 5.2506, 34.6955)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29A2 #8CA229
analogous
#2950A2 #3F29A2 #7C29A2
triadic
#3F29A2 #A23F29 #29A23F
tetradic
#3F29A2 #A22950 #8CA229 #29A27C
square
#3F29A2 #A22950 #8CA229 #29A27C
split-complementary
#3F29A2 #A27C29 #50A229
monochromatic
#191040 #2C1D71 #3F29A2 #553BCD #806CDA

Accessibility & contrast

On white

10.24
#3F29A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F29A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29A2
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29A2#FFFFFF#000000##FFFFFF
##3F29A21.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f29a2;
/* rgb */ color: rgb(63, 41, 162);
/* oklch */ color: oklch(39.4% 0.182 282.4);
Tailwind
colors: {
  custom: {
    50: '#8065bf',
    500: '#3f29a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f29a2;
$custom-light: #8065bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29a2",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 250.909,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39366,
    "c": 0.18216,
    "h": 282.4
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#3F29A2
secondary
#B0C067
accent
#E345C6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F29A2

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

Preview Lab → · Contrast checker → · Palette generator →

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