#3F1368#3F1368

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

Color values

HEX#3F1368
RGBrgb(63, 19, 104)
HSLhsl(271, 69%, 24%)
HSVhsv(271, 82%, 41%)
CMYKcmyk(39.4%, 81.7%, 0%, 59.2%)
CIE-LABlab(18.02, 37.94, -40.65)
CIE-LCHlch(18.02, 55.61, 313.02°)
OKLaboklab(31.05% 0.0733 -0.116)
OKLCHoklch(31.05% 0.137 302.3)
XYZxyz(4.7809, 2.5220, 13.3289)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1368 #3C6813
analogous
#151368 #3F1368 #681367
triadic
#3F1368 #683F13 #13683F
tetradic
#3F1368 #681513 #3C6813 #136768
square
#3F1368 #681513 #3C6813 #136768
split-complementary
#3F1368 #676813 #136815
monochromatic
#10051A #200A34 #3F1368 #5E1C9C #7E26CF

Accessibility & contrast

On white

13.96
#3F1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1368
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1368#FFFFFF#000000##FFFFFF
##3F13681.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#36293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1368;
/* rgb */ color: rgb(63, 19, 104);
/* oklch */ color: oklch(31.0% 0.137 302.3);
Tailwind
colors: {
  custom: {
    50: '#795694',
    500: '#3f1368',
    950: '#000000',
  },
}
SCSS
$custom: #3f1368;
$custom-light: #795694;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1368",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 271.059,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31047,
    "c": 0.13725,
    "h": 302.3
  },
  "luminance": 0.02522
}

Semantic roles & 50–950 ramp

primary
#3F1368
secondary
#6A9F37
accent
#EC3C91
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1368

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

Preview Lab → · Contrast checker → · Palette generator →

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