#3F2BA1#3F2BA1

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

Color values

HEX#3F2BA1
RGBrgb(63, 43, 161)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 73%, 63%)
CMYKcmyk(60.9%, 73.3%, 0%, 36.9%)
CIE-LABlab(27.73, 42.28, -60.63)
CIE-LCHlch(27.73, 73.92, 304.89°)
OKLaboklab(39.54% 0.0379 -0.1747)
OKLCHoklch(39.54% 0.179 282.2)
XYZxyz(9.3448, 5.3571, 34.2529)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA1 #8DA12B
analogous
#2B52A1 #3F2BA1 #7A2BA1
triadic
#3F2BA1 #A13F2B #2BA13F
tetradic
#3F2BA1 #A12B52 #8DA12B #2BA17A
square
#3F2BA1 #A12B52 #8DA12B #2BA17A
split-complementary
#3F2BA1 #A17A2B #52A12B
monochromatic
#191140 #2C1E71 #3F2BA1 #563ECB #806ED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2BA1#FFFFFF#000000##FFFFFF
##3F2BA11.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)
#0045A4
Deuteranopia (green-blind)
#003D9F
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2ba1;
/* rgb */ color: rgb(63, 43, 161);
/* oklch */ color: oklch(39.5% 0.179 282.2);
Tailwind
colors: {
  custom: {
    50: '#8067be',
    500: '#3f2ba1',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba1;
$custom-light: #8067be;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba1",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 250.169,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.39543,
    "c": 0.1788,
    "h": 282.2
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#3F2BA1
secondary
#B1BF69
accent
#E147C7
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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