#3F2AA3#3F2AA3

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

Color values

HEX#3F2AA3
RGBrgb(63, 42, 163)
HSLhsl(250, 59%, 40%)
HSVhsv(250, 74%, 64%)
CMYKcmyk(61.3%, 74.2%, 0%, 36.1%)
CIE-LABlab(27.73, 43.45, -61.84)
CIE-LCHlch(27.73, 75.58, 305.09°)
OKLaboklab(39.6% 0.0382 -0.1783)
OKLCHoklch(39.6% 0.182 282.1)
XYZxyz(9.4867, 5.3564, 35.1772)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2AA3 #8EA32A
analogous
#2A52A3 #3F2AA3 #7B2AA3
triadic
#3F2AA3 #A33F2A #2AA33F
tetradic
#3F2AA3 #A32A52 #8EA32A #2AA37B
square
#3F2AA3 #A32A52 #8EA32A #2AA37B
split-complementary
#3F2AA3 #A37B2A #52A32A
monochromatic
#191142 #2C1D72 #3F2AA3 #563DCD #816EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F2AA3#FFFFFF#000000##FFFFFF
##3F2AA31.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)
#0045A7
Deuteranopia (green-blind)
#003DA1
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2aa3;
/* rgb */ color: rgb(63, 42, 163);
/* oklch */ color: oklch(39.6% 0.182 282.1);
Tailwind
colors: {
  custom: {
    50: '#8066bf',
    500: '#3f2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #3f2aa3;
$custom-light: #8066bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2aa3",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 250.413,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39601,
    "c": 0.18234,
    "h": 282.1
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#3F2AA3
secondary
#B1C068
accent
#E246C7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3F2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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