#3F2099#3F2099

#3F2099 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.180 H 285.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3F2099
RGBrgb(63, 32, 153)
HSLhsl(255, 65%, 36%)
HSVhsv(255, 79%, 60%)
CMYKcmyk(58.8%, 79.1%, 0%, 40%)
CIE-LABlab(24.92, 45.58, -60.37)
CIE-LCHlch(24.92, 75.65, 307.06°)
OKLaboklab(37.33% 0.0478 -0.1739)
OKLCHoklch(37.33% 0.18 285.4)
XYZxyz(8.3144, 4.3892, 30.5399)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2099 #7A9920
analogous
#203E99 #3F2099 #7C2099
triadic
#3F2099 #993F20 #20993F
tetradic
#3F2099 #99203E #7A9920 #20997C
square
#3F2099 #99203E #7A9920 #20997C
split-complementary
#3F2099 #997C20 #3E9920
monochromatic
#150B34 #2A1566 #3F2099 #542BCC #7957DC

Accessibility & contrast

On white

11.18
#3F2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2099
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2099#FFFFFF#000000##FFFFFF
##3F20991.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#0E435C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2099;
/* rgb */ color: rgb(63, 32, 153);
/* oklch */ color: oklch(37.3% 0.180 285.4);
Tailwind
colors: {
  custom: {
    50: '#7f60b8',
    500: '#3f2099',
    950: '#000000',
  },
}
SCSS
$custom: #3f2099;
$custom-light: #7f60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2099",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 255.372,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37326,
    "c": 0.18037,
    "h": 285.4
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#3F2099
secondary
#A4C055
accent
#E83FBD
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F2099

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

Preview Lab → · Contrast checker → · Palette generator →

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