#3F2C92#3F2C92

#3F2C92 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.159 H 284.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3F2C92
RGBrgb(63, 44, 146)
HSLhsl(251, 54%, 37%)
HSVhsv(251, 70%, 57%)
CMYKcmyk(56.8%, 69.9%, 0%, 42.7%)
CIE-LABlab(26.54, 36.99, -53.40)
CIE-LCHlch(26.54, 64.96, 304.72°)
OKLaboklab(38.27% 0.0399 -0.1536)
OKLCHoklch(38.27% 0.159 284.6)
XYZxyz(8.1373, 4.9330, 27.7119)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2C92 #7F922C
analogous
#2C4C92 #3F2C92 #722C92
triadic
#3F2C92 #923F2C #2C923F
tetradic
#3F2C92 #922C4C #7F922C #2C9272
square
#3F2C92 #922C4C #7F922C #2C9272
split-complementary
#3F2C92 #92722C #4C922C
monochromatic
#161034 #2B1E63 #3F2C92 #533AC1 #7B67D1

Accessibility & contrast

On white

10.57
#3F2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2C92
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2C92#FFFFFF#000000##FFFFFF
##3F2C921.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#18465B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2c92;
/* rgb */ color: rgb(63, 44, 146);
/* oklch */ color: oklch(38.3% 0.159 284.6);
Tailwind
colors: {
  custom: {
    50: '#7d67b3',
    500: '#3f2c92',
    950: '#000000',
  },
}
SCSS
$custom: #3f2c92;
$custom-light: #7d67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2c92",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 251.176,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38271,
    "c": 0.15868,
    "h": 284.6
  },
  "luminance": 0.04933
}

Semantic roles & 50–950 ramp

primary
#3F2C92
secondary
#A8B862
accent
#DD4BC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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