#3F2BA3#3F2BA3

#3F2BA3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.181 H 281.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3F2BA3
RGBrgb(63, 43, 163)
HSLhsl(250, 58%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(61.3%, 73.6%, 0%, 36.1%)
CIE-LABlab(27.92, 42.91, -61.52)
CIE-LCHlch(27.92, 75.01, 304.89°)
OKLaboklab(39.74% 0.0374 -0.1774)
OKLCHoklch(39.74% 0.181 281.9)
XYZxyz(9.5226, 5.4282, 35.1892)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BA3 #8FA32B
analogous
#2B53A3 #3F2BA3 #7B2BA3
triadic
#3F2BA3 #A33F2B #2BA33F
tetradic
#3F2BA3 #A32B53 #8FA32B #2BA37B
square
#3F2BA3 #A32B53 #8FA32B #2BA37B
split-complementary
#3F2BA3 #A37B2B #53A32B
monochromatic
#1A1142 #2C1E73 #3F2BA3 #563FCC #816FD9

Accessibility & contrast

On white

10.07
#3F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BA3
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BA3#FFFFFF#000000##FFFFFF
##3F2BA31.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2ba3;
/* rgb */ color: rgb(63, 43, 163);
/* oklch */ color: oklch(39.7% 0.181 281.9);
Tailwind
colors: {
  custom: {
    50: '#8067bf',
    500: '#3f2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ba3;
$custom-light: #8067bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ba3",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 250,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39738,
    "c": 0.18128,
    "h": 281.9
  },
  "luminance": 0.05429
}

Semantic roles & 50–950 ramp

primary
#3F2BA3
secondary
#B2C06A
accent
#E146C8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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