#3F2585#3F2585

#3F2585 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.0% C 0.151 H 288.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#3F2585
RGBrgb(63, 37, 133)
HSLhsl(256, 56%, 33%)
HSVhsv(256, 72%, 52%)
CMYKcmyk(52.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(23.91, 36.99, -49.61)
CIE-LCHlch(23.91, 61.89, 306.71°)
OKLaboklab(36.03% 0.0489 -0.1424)
OKLCHoklch(36.03% 0.151 288.9)
XYZxyz(6.9439, 4.0730, 22.6060)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2585 #6B8525
analogous
#253B85 #3F2585 #6F2585
triadic
#3F2585 #853F25 #25853F
tetradic
#3F2585 #85253B #6B8525 #25856F
square
#3F2585 #85253B #6B8525 #25856F
split-complementary
#3F2585 #856F25 #3B8525
monochromatic
#120A25 #281855 #3F2585 #5632B5 #7655D0

Accessibility & contrast

On white

11.57
#3F2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3F2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2585
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2585#FFFFFF#000000##FFFFFF
##3F25851.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#263E52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3f2585;
/* rgb */ color: rgb(63, 37, 133);
/* oklch */ color: oklch(36.0% 0.151 288.9);
Tailwind
colors: {
  custom: {
    50: '#7c62a9',
    500: '#3f2585',
    950: '#000000',
  },
}
SCSS
$custom: #3f2585;
$custom-light: #7c62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2585",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 256.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.15061,
    "h": 288.9
  },
  "luminance": 0.04073
}

Semantic roles & 50–950 ramp

primary
#3F2585
secondary
#99B452
accent
#E048B7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2585

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

Preview Lab → · Contrast checker → · Palette generator →

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