#3F1B68#3F1B68

#3F1B68 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.127 H 300.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3F1B68
RGBrgb(63, 27, 104)
HSLhsl(268, 59%, 26%)
HSVhsv(268, 74%, 41%)
CMYKcmyk(39.4%, 74%, 0%, 59.2%)
CIE-LABlab(19.39, 34.04, -38.42)
CIE-LCHlch(19.39, 51.33, 311.55°)
OKLaboklab(32.02% 0.0651 -0.1095)
OKLCHoklch(32.02% 0.127 300.7)
XYZxyz(4.9399, 2.8401, 13.3820)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1B68 #44681B
analogous
#1B1D68 #3F1B68 #651B68
triadic
#3F1B68 #683F1B #1B683F
tetradic
#3F1B68 #681B1D #44681B #1B6865
square
#3F1B68 #681B1D #44681B #1B6865
split-complementary
#3F1B68 #68651B #1D681B
monochromatic
#0F0618 #220E37 #3F1B68 #5C2899 #7A34C9

Accessibility & contrast

On white

13.39
#3F1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3F1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1B68
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1B68#FFFFFF#000000##FFFFFF
##3F1B681.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#362D3F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1b68;
/* rgb */ color: rgb(63, 27, 104);
/* oklch */ color: oklch(32.0% 0.127 300.7);
Tailwind
colors: {
  custom: {
    50: '#785b94',
    500: '#3f1b68',
    950: '#000000',
  },
}
SCSS
$custom: #3f1b68;
$custom-light: #785b94;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1b68",
  "rgb": {
    "r": 63,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 268.052,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32018,
    "c": 0.12738,
    "h": 300.7
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#3F1B68
secondary
#729D42
accent
#E24699
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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