#3F1674#3F1674

#3F1674 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.147 H 297.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#3F1674
RGBrgb(63, 22, 116)
HSLhsl(266, 68%, 27%)
HSVhsv(266, 81%, 45%)
CMYKcmyk(45.7%, 81%, 0%, 54.5%)
CIE-LABlab(19.60, 39.79, -45.86)
CIE-LCHlch(19.60, 60.72, 310.95°)
OKLaboklab(32.5% 0.0671 -0.1313)
OKLCHoklch(32.5% 0.147 297)
XYZxyz(5.4884, 2.8914, 16.7885)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1674 #4B7416
analogous
#161C74 #3F1674 #6E1674
triadic
#3F1674 #743F16 #16743F
tetradic
#3F1674 #74161C #4B7416 #16746E
square
#3F1674 #74161C #4B7416 #16746E
split-complementary
#3F1674 #746E16 #1C7416
monochromatic
#0E051A #230C41 #3F1674 #5B20A7 #772DD7

Accessibility & contrast

On white

13.30
#3F1674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F1674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1674
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1674#FFFFFF#000000##FFFFFF
##3F16741.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#313045
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1674;
/* rgb */ color: rgb(63, 22, 116);
/* oklch */ color: oklch(32.5% 0.147 297.0);
Tailwind
colors: {
  custom: {
    50: '#7a599d',
    500: '#3f1674',
    950: '#000000',
  },
}
SCSS
$custom: #3f1674;
$custom-light: #7a599d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1674",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 266.17,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32502,
    "c": 0.14747,
    "h": 297
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#3F1674
secondary
#7AAA3C
accent
#EB3D9F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1674

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

Preview Lab → · Contrast checker → · Palette generator →

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