#3F2F95#3F2F95

#3F2F95 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.159 H 283.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3F2F95
RGBrgb(63, 47, 149)
HSLhsl(249, 52%, 38%)
HSVhsv(249, 68%, 58%)
CMYKcmyk(57.7%, 68.5%, 0%, 41.6%)
CIE-LABlab(27.46, 36.17, -53.74)
CIE-LCHlch(27.46, 64.78, 303.94°)
OKLaboklab(39.01% 0.0367 -0.1546)
OKLCHoklch(39.01% 0.159 283.4)
XYZxyz(8.4896, 5.2592, 28.9957)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F95 #85952F
analogous
#2F5295 #3F2F95 #722F95
triadic
#3F2F95 #953F2F #2F953F
tetradic
#3F2F95 #952F52 #85952F #2F9572
square
#3F2F95 #952F52 #85952F #2F9572
split-complementary
#3F2F95 #95722F #52952F
monochromatic
#181238 #2B2066 #3F2F95 #533FC2 #7D6DD1

Accessibility & contrast

On white

10.23
#3F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3F2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F95
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F95#FFFFFF#000000##FFFFFF
##3F2F951.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#13495E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2f95;
/* rgb */ color: rgb(63, 47, 149);
/* oklch */ color: oklch(39.0% 0.159 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d69b5',
    500: '#3f2f95',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f95;
$custom-light: #7d69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f95",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 249.412,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39013,
    "c": 0.15888,
    "h": 283.4
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#3F2F95
secondary
#ACB867
accent
#DB4CC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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