#3F2699#3F2699

#3F2699 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.174 H 284.5°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3F2699
RGBrgb(63, 38, 153)
HSLhsl(253, 60%, 37%)
HSVhsv(253, 75%, 60%)
CMYKcmyk(58.8%, 75.2%, 0%, 40%)
CIE-LABlab(25.99, 42.53, -58.61)
CIE-LCHlch(25.99, 72.42, 305.97°)
OKLaboklab(38.08% 0.0435 -0.1688)
OKLCHoklch(38.08% 0.174 284.5)
XYZxyz(8.4910, 4.7424, 30.5988)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2699 #809926
analogous
#264799 #3F2699 #782699
triadic
#3F2699 #993F26 #26993F
tetradic
#3F2699 #992647 #809926 #269978
square
#3F2699 #992647 #809926 #269978
split-complementary
#3F2699 #997826 #479926
monochromatic
#170E37 #2B1A68 #3F2699 #5332CA #7B62D8

Accessibility & contrast

On white

10.78
#3F2699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F2699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2699
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2699#FFFFFF#000000##FFFFFF
##3F26991.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#0D465D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2699;
/* rgb */ color: rgb(63, 38, 153);
/* oklch */ color: oklch(38.1% 0.174 284.5);
Tailwind
colors: {
  custom: {
    50: '#7f63b8',
    500: '#3f2699',
    950: '#000000',
  },
}
SCSS
$custom: #3f2699;
$custom-light: #7f63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2699",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 253.043,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38076,
    "c": 0.17433,
    "h": 284.5
  },
  "luminance": 0.04743
}

Semantic roles & 50–950 ramp

primary
#3F2699
secondary
#A8BD5E
accent
#E344C1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2699

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

Preview Lab → · Contrast checker → · Palette generator →

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