#3F2C97#3F2C97

#3F2C97 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.165 H 283.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3F2C97
RGBrgb(63, 44, 151)
HSLhsl(251, 55%, 38%)
HSVhsv(251, 71%, 59%)
CMYKcmyk(58.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(27.00, 38.58, -55.73)
CIE-LCHlch(27.00, 67.78, 304.69°)
OKLaboklab(38.73% 0.0391 -0.1604)
OKLCHoklch(38.73% 0.165 283.7)
XYZxyz(8.5348, 5.0920, 29.8053)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2C97 #84972C
analogous
#2C4E97 #3F2C97 #742C97
triadic
#3F2C97 #973F2C #2C973F
tetradic
#3F2C97 #972C4E #84972C #2C9774
square
#3F2C97 #972C4E #84972C #2C9774
split-complementary
#3F2C97 #97742C #4E972C
monochromatic
#171038 #2B1E68 #3F2C97 #533AC6 #7D6AD4

Accessibility & contrast

On white

10.40
#3F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2C97
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2C97#FFFFFF#000000##FFFFFF
##3F2C971.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#10485E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2c97;
/* rgb */ color: rgb(63, 44, 151);
/* oklch */ color: oklch(38.7% 0.165 283.7);
Tailwind
colors: {
  custom: {
    50: '#7e67b7',
    500: '#3f2c97',
    950: '#000000',
  },
}
SCSS
$custom: #3f2c97;
$custom-light: #7e67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2c97",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 250.654,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38734,
    "c": 0.1651,
    "h": 283.7
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#3F2C97
secondary
#ABBA65
accent
#DE4AC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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