#3F2B85#3F2B85

#3F2B85 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.143 H 287.5°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#3F2B85
RGBrgb(63, 43, 133)
HSLhsl(253, 51%, 35%)
HSVhsv(253, 68%, 52%)
CMYKcmyk(52.6%, 67.7%, 0%, 47.8%)
CIE-LABlab(25.19, 33.48, -47.53)
CIE-LCHlch(25.19, 58.14, 305.17°)
OKLaboklab(36.95% 0.0429 -0.1363)
OKLCHoklch(36.95% 0.143 287.5)
XYZxyz(7.1462, 4.4776, 22.6735)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B85 #71852B
analogous
#2B4485 #3F2B85 #6C2B85
triadic
#3F2B85 #853F2B #2B853F
tetradic
#3F2B85 #852B44 #71852B #2B856C
square
#3F2B85 #852B44 #71852B #2B856C
split-complementary
#3F2B85 #856C2B #44852B
monochromatic
#130D29 #291C57 #3F2B85 #553AB3 #775FCB

Accessibility & contrast

On white

11.08
#3F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B85
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B85#FFFFFF#000000##FFFFFF
##3F2B851.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#254154
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2b85;
/* rgb */ color: rgb(63, 43, 133);
/* oklch */ color: oklch(36.9% 0.143 287.5);
Tailwind
colors: {
  custom: {
    50: '#7b66a9',
    500: '#3f2b85',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b85;
$custom-light: #7b66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b85",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 253.333,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36947,
    "c": 0.14291,
    "h": 287.5
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#3F2B85
secondary
#9EB15B
accent
#DB4DBB
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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