#3F2992#3F2992

#3F2992 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.162 H 285.2°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#3F2992
RGBrgb(63, 41, 146)
HSLhsl(253, 56%, 37%)
HSVhsv(253, 72%, 57%)
CMYKcmyk(56.8%, 71.9%, 0%, 42.7%)
CIE-LABlab(25.91, 38.73, -54.42)
CIE-LCHlch(25.91, 66.80, 305.44°)
OKLaboklab(37.82% 0.0426 -0.1566)
OKLCHoklch(37.82% 0.162 285.2)
XYZxyz(8.0296, 4.7175, 27.6760)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2992 #7C9229
analogous
#294892 #3F2992 #742992
triadic
#3F2992 #923F29 #29923F
tetradic
#3F2992 #922948 #7C9229 #299274
square
#3F2992 #922948 #7C9229 #299274
split-complementary
#3F2992 #927429 #489229
monochromatic
#160E32 #2A1C62 #3F2992 #5436C2 #7A62D3

Accessibility & contrast

On white

10.80
#3F2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2992
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2992#FFFFFF#000000##FFFFFF
##3F29921.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003A90
Tritanopia (blue-blind)
#18455A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2992;
/* rgb */ color: rgb(63, 41, 146);
/* oklch */ color: oklch(37.8% 0.162 285.2);
Tailwind
colors: {
  custom: {
    50: '#7d65b3',
    500: '#3f2992',
    950: '#000000',
  },
}
SCSS
$custom: #3f2992;
$custom-light: #7d65b3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2992",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 252.571,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37822,
    "c": 0.16228,
    "h": 285.2
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#3F2992
secondary
#A6B95E
accent
#DF48C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2992

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

Preview Lab → · Contrast checker → · Palette generator →

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