#3F2AA1#3F2AA1

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

Color values

HEX#3F2AA1
RGBrgb(63, 42, 161)
HSLhsl(251, 59%, 40%)
HSVhsv(251, 74%, 63%)
CMYKcmyk(60.9%, 73.9%, 0%, 36.9%)
CIE-LABlab(27.53, 42.83, -60.95)
CIE-LCHlch(27.53, 74.50, 305.10°)
OKLaboklab(39.4% 0.0386 -0.1757)
OKLCHoklch(39.4% 0.18 282.4)
XYZxyz(9.3089, 5.2853, 34.2409)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AA1 #8CA12A
analogous
#2A51A1 #3F2AA1 #7A2AA1
triadic
#3F2AA1 #A13F2A #2AA13F
tetradic
#3F2AA1 #A12A51 #8CA12A #2AA17A
square
#3F2AA1 #A12A51 #8CA12A #2AA17A
split-complementary
#3F2AA1 #A17A2A #51A12A
monochromatic
#191140 #2C1D70 #3F2AA1 #553CCC #806DD9

Accessibility & contrast

On white

10.21
#3F2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F2AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2AA1
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2AA1#FFFFFF#000000##FFFFFF
##3F2AA11.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2aa1;
/* rgb */ color: rgb(63, 42, 161);
/* oklch */ color: oklch(39.4% 0.180 282.4);
Tailwind
colors: {
  custom: {
    50: '#8066be',
    500: '#3f2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aa1;
$custom-light: #8066be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aa1",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 250.588,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.17988,
    "h": 282.4
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#3F2AA1
secondary
#B0C067
accent
#E246C6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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