#3F1670#3F1670

#3F1670 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.143 H 298.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#3F1670
RGBrgb(63, 22, 112)
HSLhsl(267, 67%, 26%)
HSVhsv(267, 80%, 44%)
CMYKcmyk(43.7%, 80.4%, 0%, 56.1%)
CIE-LABlab(19.23, 38.71, -43.89)
CIE-LCHlch(19.23, 58.53, 311.41°)
OKLaboklab(32.12% 0.0683 -0.1256)
OKLCHoklch(32.12% 0.143 298.5)
XYZxyz(5.2607, 2.8004, 15.5895)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1670 #477016
analogous
#161A70 #3F1670 #6C1670
triadic
#3F1670 #703F16 #16703F
tetradic
#3F1670 #70161A #477016 #16706C
square
#3F1670 #70161A #477016 #16706C
split-complementary
#3F1670 #706C16 #1A7016
monochromatic
#0E051A #220C3D #3F1670 #5C20A3 #792BD5

Accessibility & contrast

On white

13.46
#3F1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3F1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1670
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1670#FFFFFF#000000##FFFFFF
##3F16701.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F73
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#332E42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1670;
/* rgb */ color: rgb(63, 22, 112);
/* oklch */ color: oklch(32.1% 0.143 298.5);
Tailwind
colors: {
  custom: {
    50: '#7a589a',
    500: '#3f1670',
    950: '#000000',
  },
}
SCSS
$custom: #3f1670;
$custom-light: #7a589a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1670",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 267.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32122,
    "c": 0.14292,
    "h": 298.5
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#3F1670
secondary
#76A63C
accent
#EA3E9C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1670

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

Preview Lab → · Contrast checker → · Palette generator →

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