#3F2595#3F2595

#3F2595 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.171 H 285.4°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#3F2595
RGBrgb(63, 37, 149)
HSLhsl(254, 60%, 36%)
HSVhsv(254, 75%, 58%)
CMYKcmyk(57.7%, 75.2%, 0%, 41.6%)
CIE-LABlab(25.41, 41.85, -57.10)
CIE-LCHlch(25.41, 70.80, 306.24°)
OKLaboklab(37.55% 0.0453 -0.1644)
OKLCHoklch(37.55% 0.171 285.4)
XYZxyz(8.1346, 4.5493, 28.8774)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2595 #7B9525
analogous
#254395 #3F2595 #772595
triadic
#3F2595 #953F25 #25953F
tetradic
#3F2595 #952543 #7B9525 #259577
square
#3F2595 #952543 #7B9525 #259577
split-complementary
#3F2595 #957725 #439525
monochromatic
#160D33 #2A1964 #3F2595 #5431C6 #7A5ED7

Accessibility & contrast

On white

10.99
#3F2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3F2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2595
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2595#FFFFFF#000000##FFFFFF
##3F25951.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#15445B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2595;
/* rgb */ color: rgb(63, 37, 149);
/* oklch */ color: oklch(37.6% 0.171 285.4);
Tailwind
colors: {
  custom: {
    50: '#7e62b5',
    500: '#3f2595',
    950: '#000000',
  },
}
SCSS
$custom: #3f2595;
$custom-light: #7e62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2595",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 253.929,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37551,
    "c": 0.17051,
    "h": 285.4
  },
  "luminance": 0.0455
}

Semantic roles & 50–950 ramp

primary
#3F2595
secondary
#A5BC5A
accent
#E344BE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #3F2595

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

Preview Lab → · Contrast checker → · Palette generator →

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