#3F2BA2#3F2BA2

#3F2BA2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.180 H 282.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3F2BA2
RGBrgb(63, 43, 162)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 73%, 64%)
CMYKcmyk(61.1%, 73.5%, 0%, 36.5%)
CIE-LABlab(27.82, 42.60, -61.08)
CIE-LCHlch(27.82, 74.46, 304.89°)
OKLaboklab(39.64% 0.0377 -0.1761)
OKLCHoklch(39.64% 0.18 282.1)
XYZxyz(9.4333, 5.3925, 34.7192)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA2 #8EA22B
analogous
#2B52A2 #3F2BA2 #7A2BA2
triadic
#3F2BA2 #A23F2B #2BA23F
tetradic
#3F2BA2 #A22B52 #8EA22B #2BA27A
square
#3F2BA2 #A22B52 #8EA22B #2BA27A
split-complementary
#3F2BA2 #A27A2B #52A22B
monochromatic
#191141 #2C1E72 #3F2BA2 #563ECC #816FD9

Accessibility & contrast

On white

10.10
#3F2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BA2
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BA2#FFFFFF#000000##FFFFFF
##3F2BA21.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003DA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f2ba2;
/* rgb */ color: rgb(63, 43, 162);
/* oklch */ color: oklch(39.6% 0.180 282.1);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3f2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba2;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba2",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 250.084,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39641,
    "c": 0.18004,
    "h": 282.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#3F2BA2
secondary
#B1C069
accent
#E147C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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