#3F2596#3F2596

#3F2596 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.172 H 285.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3F2596
RGBrgb(63, 37, 150)
HSLhsl(254, 60%, 37%)
HSVhsv(254, 75%, 59%)
CMYKcmyk(58%, 75.3%, 0%, 41.2%)
CIE-LABlab(25.51, 42.16, -57.56)
CIE-LCHlch(25.51, 71.34, 306.22°)
OKLaboklab(37.65% 0.045 -0.1657)
OKLCHoklch(37.65% 0.172 285.2)
XYZxyz(8.2148, 4.5814, 29.2997)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2596 #7C9625
analogous
#254496 #3F2596 #782596
triadic
#3F2596 #963F25 #25963F
tetradic
#3F2596 #962544 #7C9625 #259678
square
#3F2596 #962544 #7C9625 #259678
split-complementary
#3F2596 #967825 #449625
monochromatic
#160D34 #2A1965 #3F2596 #5431C7 #7A5ED7

Accessibility & contrast

On white

10.96
#3F2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2596
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2596#FFFFFF#000000##FFFFFF
##3F25961.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#13445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2596;
/* rgb */ color: rgb(63, 37, 150);
/* oklch */ color: oklch(37.6% 0.172 285.2);
Tailwind
colors: {
  custom: {
    50: '#7e63b6',
    500: '#3f2596',
    950: '#000000',
  },
}
SCSS
$custom: #3f2596;
$custom-light: #7e63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2596",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 253.805,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37649,
    "c": 0.17174,
    "h": 285.2
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#3F2596
secondary
#A6BC5B
accent
#E444BF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2596

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

Preview Lab → · Contrast checker → · Palette generator →

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