#3F1367#3F1367

#3F1367 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.136 H 302.7°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#3F1367
RGBrgb(63, 19, 103)
HSLhsl(271, 69%, 24%)
HSVhsv(271, 82%, 40%)
CMYKcmyk(38.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(17.93, 37.68, -40.15)
CIE-LCHlch(17.93, 55.06, 313.19°)
OKLaboklab(30.96% 0.0736 -0.1145)
OKLCHoklch(30.96% 0.136 302.7)
XYZxyz(4.7304, 2.5018, 13.0630)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1367 #3B6713
analogous
#151367 #3F1367 #671365
triadic
#3F1367 #673F13 #13673F
tetradic
#3F1367 #671513 #3B6713 #136567
square
#3F1367 #671513 #3B6713 #136567
split-complementary
#3F1367 #656713 #136715
monochromatic
#10051A #1F0933 #3F1367 #5F1D9B #7E26CE

Accessibility & contrast

On white

14.00
#3F1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F1367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1367
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1367#FFFFFF#000000##FFFFFF
##3F13671.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#37293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1367;
/* rgb */ color: rgb(63, 19, 103);
/* oklch */ color: oklch(31.0% 0.136 302.7);
Tailwind
colors: {
  custom: {
    50: '#795693',
    500: '#3f1367',
    950: '#000000',
  },
}
SCSS
$custom: #3f1367;
$custom-light: #795693;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1367",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 271.429,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30956,
    "c": 0.13614,
    "h": 302.7
  },
  "luminance": 0.02502
}

Semantic roles & 50–950 ramp

primary
#3F1367
secondary
#689E37
accent
#EC3C90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1367

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

Preview Lab → · Contrast checker → · Palette generator →

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