#3F1860#3F1860

#3F1860 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.122 H 305.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#3F1860
RGBrgb(63, 24, 96)
HSLhsl(273, 60%, 24%)
HSVhsv(273, 75%, 38%)
CMYKcmyk(34.4%, 75%, 0%, 62.4%)
CIE-LABlab(18.16, 33.46, -35.14)
CIE-LCHlch(18.16, 48.52, 313.59°)
OKLaboklab(30.93% 0.0699 -0.0999)
OKLCHoklch(30.93% 0.122 305)
XYZxyz(4.4874, 2.5546, 11.3207)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1860 #396018
analogous
#1B1860 #3F1860 #60185D
triadic
#3F1860 #603F18 #18603F
tetradic
#3F1860 #601B18 #396018 #185D60
square
#3F1860 #601B18 #396018 #185D60
split-complementary
#3F1860 #5D6018 #18601B
monochromatic
#100618 #1F0C2F #3F1860 #5F2491 #7F30C2

Accessibility & contrast

On white

13.90
#3F1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1860
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1860#FFFFFF#000000##FFFFFF
##3F18601.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#39293A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1860;
/* rgb */ color: rgb(63, 24, 96);
/* oklch */ color: oklch(30.9% 0.122 305.0);
Tailwind
colors: {
  custom: {
    50: '#78598e',
    500: '#3f1860',
    950: '#000000',
  },
}
SCSS
$custom: #3f1860;
$custom-light: #78598e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1860",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 272.5,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30934,
    "c": 0.12192,
    "h": 305
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#3F1860
secondary
#66963D
accent
#E3458D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1860

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

Preview Lab → · Contrast checker → · Palette generator →

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