#3F1B89#3F1B89

#3F1B89 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.167 H 289.8°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3F1B89
RGBrgb(63, 27, 137)
HSLhsl(260, 67%, 32%)
HSVhsv(260, 80%, 54%)
CMYKcmyk(54%, 80.3%, 0%, 46.3%)
CIE-LABlab(22.47, 43.34, -54.49)
CIE-LCHlch(22.47, 69.62, 308.50°)
OKLaboklab(35.13% 0.0564 -0.1567)
OKLCHoklch(35.13% 0.167 289.8)
XYZxyz(6.9559, 3.6465, 23.9994)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B89 #65891B
analogous
#1B2E89 #3F1B89 #761B89
triadic
#3F1B89 #893F1B #1B893F
tetradic
#3F1B89 #891B2E #65891B #1B8976
square
#3F1B89 #891B2E #65891B #1B8976
split-complementary
#3F1B89 #89761B #2E891B
monochromatic
#100723 #271156 #3F1B89 #5725BC #7544DA

Accessibility & contrast

On white

12.14
#3F1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B89
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B89#FFFFFF#000000##FFFFFF
##3F1B891.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#233B52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1b89;
/* rgb */ color: rgb(63, 27, 137);
/* oklch */ color: oklch(35.1% 0.167 289.8);
Tailwind
colors: {
  custom: {
    50: '#7d5cac',
    500: '#3f1b89',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b89;
$custom-light: #7d5cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b89",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 259.636,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35127,
    "c": 0.16651,
    "h": 289.8
  },
  "luminance": 0.03647
}

Semantic roles & 50–950 ramp

primary
#3F1B89
secondary
#95BC44
accent
#EA3EB2
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #3F1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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