#3F1360#3F1360

#3F1360 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.128 H 306.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3F1360
RGBrgb(63, 19, 96)
HSLhsl(274, 67%, 23%)
HSVhsv(274, 80%, 38%)
CMYKcmyk(34.4%, 80.2%, 0%, 62.4%)
CIE-LABlab(17.31, 35.88, -36.53)
CIE-LCHlch(17.31, 51.21, 314.48°)
OKLaboklab(30.33% 0.0754 -0.1039)
OKLCHoklch(30.33% 0.128 306)
XYZxyz(4.3936, 2.3671, 11.2895)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1360 #346013
analogous
#191360 #3F1360 #60135A
triadic
#3F1360 #603F13 #13603F
tetradic
#3F1360 #601913 #346013 #135A60
square
#3F1360 #601913 #346013 #135A60
split-complementary
#3F1360 #5A6013 #136019
monochromatic
#11051A #1D092D #3F1360 #611D93 #8227C6

Accessibility & contrast

On white

14.25
#3F1360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1360
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1360#FFFFFF#000000##FFFFFF
##3F13601.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#392639
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1360;
/* rgb */ color: rgb(63, 19, 96);
/* oklch */ color: oklch(30.3% 0.128 306.0);
Tailwind
colors: {
  custom: {
    50: '#78568e',
    500: '#3f1360',
    950: '#000000',
  },
}
SCSS
$custom: #3f1360;
$custom-light: #78568e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1360",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 96
  },
  "hsl": {
    "h": 274.286,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30327,
    "c": 0.12839,
    "h": 306
  },
  "luminance": 0.02367
}

Semantic roles & 50–950 ramp

primary
#3F1360
secondary
#609837
accent
#EA3E88
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1360

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

Preview Lab → · Contrast checker → · Palette generator →

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