#3F1067#3F1067

#3F1067 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.139 H 303.2°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3F1067
RGBrgb(63, 16, 103)
HSLhsl(272, 73%, 23%)
HSVhsv(272, 84%, 40%)
CMYKcmyk(38.8%, 84.5%, 0%, 59.6%)
CIE-LABlab(17.49, 38.94, -40.86)
CIE-LCHlch(17.49, 56.44, 313.62°)
OKLaboklab(30.65% 0.0763 -0.1166)
OKLCHoklch(30.65% 0.139 303.2)
XYZxyz(4.6828, 2.4066, 13.0472)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1067 #386710
analogous
#141067 #3F1067 #671063
triadic
#3F1067 #673F10 #10673F
tetradic
#3F1067 #671410 #386710 #106367
square
#3F1067 #671410 #386710 #106367
split-complementary
#3F1067 #636710 #106714
monochromatic
#10041A #1F0832 #3F1067 #5F189C #8020D1

Accessibility & contrast

On white

14.18
#3F1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1067
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1067#FFFFFF#000000##FFFFFF
##3F10671.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#37283C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1067;
/* rgb */ color: rgb(63, 16, 103);
/* oklch */ color: oklch(30.7% 0.139 303.2);
Tailwind
colors: {
  custom: {
    50: '#795593',
    500: '#3f1067',
    950: '#000000',
  },
}
SCSS
$custom: #3f1067;
$custom-light: #795593;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1067",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 272.414,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30651,
    "c": 0.13932,
    "h": 303.2
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#3F1067
secondary
#659F33
accent
#F0388D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1067

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

Preview Lab → · Contrast checker → · Palette generator →

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