#3F2E99#3F2E99

#3F2E99 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.165 H 282.9°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3F2E99
RGBrgb(63, 46, 153)
HSLhsl(250, 54%, 39%)
HSVhsv(250, 70%, 60%)
CMYKcmyk(58.8%, 69.9%, 0%, 40%)
CIE-LABlab(27.60, 38.05, -55.96)
CIE-LCHlch(27.60, 67.67, 304.21°)
OKLaboklab(39.22% 0.037 -0.1611)
OKLCHoklch(39.22% 0.165 282.9)
XYZxyz(8.7749, 5.3101, 30.6934)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E99 #88992E
analogous
#2E5399 #3F2E99 #752E99
triadic
#3F2E99 #993F2E #2E993F
tetradic
#3F2E99 #992E53 #88992E #2E9975
square
#3F2E99 #992E53 #88992E #2E9975
split-complementary
#3F2E99 #99752E #53992E
monochromatic
#18123B #2C206A #3F2E99 #543FC5 #7E6ED3

Accessibility & contrast

On white

10.18
#3F2E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F2E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E99
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E99#FFFFFF#000000##FFFFFF
##3F2E991.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#0B4A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f2e99;
/* rgb */ color: rgb(63, 46, 153);
/* oklch */ color: oklch(39.2% 0.165 282.9);
Tailwind
colors: {
  custom: {
    50: '#7e68b8',
    500: '#3f2e99',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e99;
$custom-light: #7e68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e99",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 249.533,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.16529,
    "h": 282.9
  },
  "luminance": 0.05311
}

Semantic roles & 50–950 ramp

primary
#3F2E99
secondary
#AEBB68
accent
#DD4BC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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