#3F1967#3F1967

#3F1967 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.129 H 301.6°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#3F1967
RGBrgb(63, 25, 103)
HSLhsl(269, 61%, 25%)
HSVhsv(269, 76%, 40%)
CMYKcmyk(38.8%, 75.7%, 0%, 59.6%)
CIE-LABlab(18.93, 34.81, -38.51)
CIE-LCHlch(18.93, 51.91, 312.12°)
OKLaboklab(31.67% 0.0675 -0.1098)
OKLCHoklch(31.67% 0.129 301.6)
XYZxyz(4.8451, 2.7313, 13.1013)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1967 #416719
analogous
#191A67 #3F1967 #661967
triadic
#3F1967 #673F19 #19673F
tetradic
#3F1967 #67191A #416719 #196766
square
#3F1967 #67191A #416719 #196766
split-complementary
#3F1967 #676619 #1A6719
monochromatic
#0F0619 #210D36 #3F1967 #5D2598 #7B31C9

Accessibility & contrast

On white

13.58
#3F1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1967
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1967#FFFFFF#000000##FFFFFF
##3F19671.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#362C3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1967;
/* rgb */ color: rgb(63, 25, 103);
/* oklch */ color: oklch(31.7% 0.129 301.6);
Tailwind
colors: {
  custom: {
    50: '#785993',
    500: '#3f1967',
    950: '#000000',
  },
}
SCSS
$custom: #3f1967;
$custom-light: #785993;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1967",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 269.231,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31666,
    "c": 0.12885,
    "h": 301.6
  },
  "luminance": 0.02731
}

Semantic roles & 50–950 ramp

primary
#3F1967
secondary
#6F9D3F
accent
#E44496
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1967

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

Preview Lab → · Contrast checker → · Palette generator →

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