#3F1960#3F1960

#3F1960 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.121 H 304.8°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#3F1960
RGBrgb(63, 25, 96)
HSLhsl(272, 59%, 24%)
HSVhsv(272, 74%, 38%)
CMYKcmyk(34.4%, 74%, 0%, 62.4%)
CIE-LABlab(18.35, 32.93, -34.84)
CIE-LCHlch(18.35, 47.94, 313.39°)
OKLaboklab(31.07% 0.0688 -0.099)
OKLCHoklch(31.07% 0.121 304.8)
XYZxyz(4.5084, 2.5966, 11.3277)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1960 #3A6019
analogous
#1B1960 #3F1960 #60195D
triadic
#3F1960 #603F19 #19603F
tetradic
#3F1960 #601B19 #3A6019 #195D60
square
#3F1960 #601B19 #3A6019 #195D60
split-complementary
#3F1960 #5D6019 #19601B
monochromatic
#100618 #1F0C2F #3F1960 #5F2691 #7F32C1

Accessibility & contrast

On white

13.82
#3F1960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F1960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1960
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1960#FFFFFF#000000##FFFFFF
##3F19601.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002D5E
Tritanopia (blue-blind)
#39293A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f1960;
/* rgb */ color: rgb(63, 25, 96);
/* oklch */ color: oklch(31.1% 0.121 304.8);
Tailwind
colors: {
  custom: {
    50: '#77598e',
    500: '#3f1960',
    950: '#000000',
  },
}
SCSS
$custom: #3f1960;
$custom-light: #77598e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1960",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 272.113,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31067,
    "c": 0.12052,
    "h": 304.8
  },
  "luminance": 0.02597
}

Semantic roles & 50–950 ramp

primary
#3F1960
secondary
#67963F
accent
#E2468E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F1960

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

Preview Lab → · Contrast checker → · Palette generator →

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