#3F2599#3F2599

#3F2599 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.175 H 284.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3F2599
RGBrgb(63, 37, 153)
HSLhsl(253, 61%, 37%)
HSVhsv(253, 76%, 60%)
CMYKcmyk(58.8%, 75.8%, 0%, 40%)
CIE-LABlab(25.80, 43.06, -58.92)
CIE-LCHlch(25.80, 72.98, 306.16°)
OKLaboklab(37.94% 0.0443 -0.1697)
OKLCHoklch(37.94% 0.175 284.6)
XYZxyz(8.4595, 4.6793, 30.5882)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2599 #7F9925
analogous
#254599 #3F2599 #792599
triadic
#3F2599 #993F25 #25993F
tetradic
#3F2599 #992545 #7F9925 #259979
square
#3F2599 #992545 #7F9925 #259979
split-complementary
#3F2599 #997925 #459925
monochromatic
#160D36 #2B1968 #3F2599 #5331CA #7B60D9

Accessibility & contrast

On white

10.85
#3F2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2599
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2599#FFFFFF#000000##FFFFFF
##3F25991.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#0D455D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2599;
/* rgb */ color: rgb(63, 37, 153);
/* oklch */ color: oklch(37.9% 0.175 284.6);
Tailwind
colors: {
  custom: {
    50: '#7f63b8',
    500: '#3f2599',
    950: '#000000',
  },
}
SCSS
$custom: #3f2599;
$custom-light: #7f63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2599",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 253.448,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37944,
    "c": 0.17539,
    "h": 284.6
  },
  "luminance": 0.0468
}

Semantic roles & 50–950 ramp

primary
#3F2599
secondary
#A8BE5C
accent
#E444C0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2599

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

Preview Lab → · Contrast checker → · Palette generator →

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