#3F2F91#3F2F91

#3F2F91 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.154 H 284.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3F2F91
RGBrgb(63, 47, 145)
HSLhsl(250, 51%, 38%)
HSVhsv(250, 68%, 57%)
CMYKcmyk(56.6%, 67.6%, 0%, 43.1%)
CIE-LABlab(27.11, 34.89, -51.85)
CIE-LCHlch(27.11, 62.49, 303.94°)
OKLaboklab(38.65% 0.0373 -0.149)
OKLCHoklch(38.65% 0.154 284)
XYZxyz(8.1757, 5.1336, 27.3427)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F91 #81912F
analogous
#2F5091 #3F2F91 #702F91
triadic
#3F2F91 #913F2F #2F913F
tetradic
#3F2F91 #912F50 #81912F #2F9170
square
#3F2F91 #912F50 #81912F #2F9170
split-complementary
#3F2F91 #91702F #50912F
monochromatic
#171135 #2B2063 #3F2F91 #533EBF #7C6BCF

Accessibility & contrast

On white

10.36
#3F2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F91
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F91#FFFFFF#000000##FFFFFF
##3F2F911.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#19485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2f91;
/* rgb */ color: rgb(63, 47, 145);
/* oklch */ color: oklch(38.7% 0.154 284.0);
Tailwind
colors: {
  custom: {
    50: '#7d69b2',
    500: '#3f2f91',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f91;
$custom-light: #7d69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f91",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 249.796,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.15362,
    "h": 284
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#3F2F91
secondary
#A9B665
accent
#DB4DC3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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