#3F1667#3F1667

#3F1667 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.133 H 302.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#3F1667
RGBrgb(63, 22, 103)
HSLhsl(270, 65%, 25%)
HSVhsv(270, 79%, 40%)
CMYKcmyk(38.8%, 78.6%, 0%, 59.6%)
CIE-LABlab(18.41, 36.30, -39.36)
CIE-LCHlch(18.41, 53.55, 312.69°)
OKLaboklab(31.29% 0.0707 -0.1123)
OKLCHoklch(31.29% 0.133 302.2)
XYZxyz(4.7844, 2.6098, 13.0810)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1667 #3E6716
analogous
#161667 #3F1667 #671667
triadic
#3F1667 #673F16 #16673F
tetradic
#3F1667 #671616 #3E6716 #166767
square
#3F1667 #671616 #3E6716 #166767
split-complementary
#3F1667 #676716 #166716
monochromatic
#0F0519 #200B35 #3F1667 #5E2199 #7D2CCC

Accessibility & contrast

On white

13.80
#3F1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F1667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1667
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1667#FFFFFF#000000##FFFFFF
##3F16671.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#372A3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f1667;
/* rgb */ color: rgb(63, 22, 103);
/* oklch */ color: oklch(31.3% 0.133 302.2);
Tailwind
colors: {
  custom: {
    50: '#785893',
    500: '#3f1667',
    950: '#000000',
  },
}
SCSS
$custom: #3f1667;
$custom-light: #785893;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1667",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 270.37,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31294,
    "c": 0.13265,
    "h": 302.2
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#3F1667
secondary
#6C9E3B
accent
#E84093
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1667

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

Preview Lab → · Contrast checker → · Palette generator →

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