#3F1C9F#3F1C9F

#3F1C9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.191 H 284.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#3F1C9F
RGBrgb(63, 28, 159)
HSLhsl(256, 70%, 37%)
HSVhsv(256, 82%, 62%)
CMYKcmyk(60.4%, 82.4%, 0%, 37.6%)
CIE-LABlab(24.92, 49.14, -64.04)
CIE-LCHlch(24.92, 80.72, 307.50°)
OKLaboklab(37.52% 0.0484 -0.1846)
OKLCHoklch(37.52% 0.191 284.7)
XYZxyz(8.7212, 4.3899, 33.1819)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C9F #7C9F1C
analogous
#1C3A9F #3F1C9F #811C9F
triadic
#3F1C9F #9F3F1C #1C9F3F
tetradic
#3F1C9F #9F1C3A #7C9F1C #1C9F81
square
#3F1C9F #9F1C3A #7C9F1C #1C9F81
split-complementary
#3F1C9F #9F811C #3A9F1C
monochromatic
#160A37 #2A136B #3F1C9F #5425D3 #7A54E1

Accessibility & contrast

On white

11.18
#3F1C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F1C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C9F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C9F#FFFFFF#000000##FFFFFF
##3F1C9F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1c9f;
/* rgb */ color: rgb(63, 28, 159);
/* oklch */ color: oklch(37.5% 0.191 284.7);
Tailwind
colors: {
  custom: {
    50: '#815ebd',
    500: '#3f1c9f',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c9f;
$custom-light: #815ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c9f",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 159
  },
  "hsl": {
    "h": 256.031,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37516,
    "c": 0.1908,
    "h": 284.7
  },
  "luminance": 0.0439
}

Semantic roles & 50–950 ramp

primary
#3F1C9F
secondary
#A6C453
accent
#ED3BBD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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