#3F1673#3F1673

#3F1673 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.146 H 297.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#3F1673
RGBrgb(63, 22, 115)
HSLhsl(266, 68%, 27%)
HSVhsv(266, 81%, 45%)
CMYKcmyk(45.2%, 80.9%, 0%, 54.9%)
CIE-LABlab(19.51, 39.52, -45.37)
CIE-LCHlch(19.51, 60.17, 311.06°)
OKLaboklab(32.41% 0.0674 -0.1299)
OKLCHoklch(32.41% 0.146 297.4)
XYZxyz(5.4305, 2.8683, 16.4839)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1673 #4A7316
analogous
#161B73 #3F1673 #6E1673
triadic
#3F1673 #733F16 #16733F
tetradic
#3F1673 #73161B #4A7316 #16736E
square
#3F1673 #73161B #4A7316 #16736E
split-complementary
#3F1673 #736E16 #1B7316
monochromatic
#0E051A #230C40 #3F1673 #5B20A6 #782DD7

Accessibility & contrast

On white

13.35
#3F1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3F1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1673
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1673#FFFFFF#000000##FFFFFF
##3F16731.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#312F44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1673;
/* rgb */ color: rgb(63, 22, 115);
/* oklch */ color: oklch(32.4% 0.146 297.4);
Tailwind
colors: {
  custom: {
    50: '#7a589c',
    500: '#3f1673',
    950: '#000000',
  },
}
SCSS
$custom: #3f1673;
$custom-light: #7a589c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1673",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 266.452,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32406,
    "c": 0.14633,
    "h": 297.4
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#3F1673
secondary
#79A93C
accent
#EB3D9E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1673

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

Preview Lab → · Contrast checker → · Palette generator →

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