#3F1260#3F1260

#3F1260 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.130 H 306.1°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#3F1260
RGBrgb(63, 18, 96)
HSLhsl(275, 68%, 22%)
HSVhsv(275, 81%, 38%)
CMYKcmyk(34.4%, 81.3%, 0%, 62.4%)
CIE-LABlab(17.15, 36.33, -36.79)
CIE-LCHlch(17.15, 51.70, 314.64°)
OKLaboklab(30.22% 0.0764 -0.1047)
OKLCHoklch(30.22% 0.13 306.1)
XYZxyz(4.3771, 2.3339, 11.2840)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1260 #336012
analogous
#181260 #3F1260 #60125A
triadic
#3F1260 #603F12 #12603F
tetradic
#3F1260 #601812 #336012 #125A60
square
#3F1260 #601812 #336012 #125A60
split-complementary
#3F1260 #5A6012 #126018
monochromatic
#11051A #1D082C #3F1260 #611C94 #8325C7

Accessibility & contrast

On white

14.32
#3F1260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1260
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1260#FFFFFF#000000##FFFFFF
##3F12601.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#392638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1260;
/* rgb */ color: rgb(63, 18, 96);
/* oklch */ color: oklch(30.2% 0.130 306.1);
Tailwind
colors: {
  custom: {
    50: '#78558e',
    500: '#3f1260',
    950: '#000000',
  },
}
SCSS
$custom: #3f1260;
$custom-light: #78558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1260",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 274.615,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.12958,
    "h": 306.1
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#3F1260
secondary
#5F9836
accent
#EB3D86
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1260

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

Preview Lab → · Contrast checker → · Palette generator →

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