#3F1259#3F1259

#3F1259 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.122 H 309.7°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3F1259
RGBrgb(63, 18, 89)
HSLhsl(278, 66%, 21%)
HSVhsv(278, 80%, 35%)
CMYKcmyk(29.2%, 79.8%, 0%, 65.1%)
CIE-LABlab(16.56, 34.58, -33.07)
CIE-LCHlch(16.56, 47.85, 316.28°)
OKLaboklab(29.61% 0.078 -0.0937)
OKLCHoklch(29.61% 0.122 309.7)
XYZxyz(4.0690, 2.2107, 9.6616)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1259 #2C5912
analogous
#1B1259 #3F1259 #59124F
triadic
#3F1259 #593F12 #12593F
tetradic
#3F1259 #591B12 #2C5912 #124F59
square
#3F1259 #591B12 #2C5912 #124F59
split-complementary
#3F1259 #4F5912 #12591B
monochromatic
#120519 #1B0826 #3F1259 #631C8C #8727BF

Accessibility & contrast

On white

14.56
#3F1259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F1259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1259
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1259#FFFFFF#000000##FFFFFF
##3F12591.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#022A58
Tritanopia (blue-blind)
#3B2334
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f1259;
/* rgb */ color: rgb(63, 18, 89);
/* oklch */ color: oklch(29.6% 0.122 309.7);
Tailwind
colors: {
  custom: {
    50: '#775588',
    500: '#3f1259',
    950: '#000000',
  },
}
SCSS
$custom: #3f1259;
$custom-light: #775588;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1259",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 278.028,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29612,
    "c": 0.12193,
    "h": 309.7
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#3F1259
secondary
#579235
accent
#E93F7D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1259

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

Preview Lab → · Contrast checker → · Palette generator →

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