#3F1470#3F1470

#3F1470 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.145 H 298.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#3F1470
RGBrgb(63, 20, 112)
HSLhsl(268, 70%, 26%)
HSVhsv(268, 82%, 44%)
CMYKcmyk(43.7%, 82.1%, 0%, 56.1%)
CIE-LABlab(18.91, 39.61, -44.40)
CIE-LCHlch(18.91, 59.50, 311.73°)
OKLaboklab(31.91% 0.07 -0.127)
OKLCHoklch(31.91% 0.145 298.9)
XYZxyz(5.2239, 2.7268, 15.5772)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1470 #457014
analogous
#141770 #3F1470 #6D1470
triadic
#3F1470 #703F14 #14703F
tetradic
#3F1470 #701417 #457014 #14706D
square
#3F1470 #701417 #457014 #14706D
split-complementary
#3F1470 #706D14 #177014
monochromatic
#0F051A #220B3C #3F1470 #5C1DA4 #7927D8

Accessibility & contrast

On white

13.59
#3F1470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1470
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1470#FFFFFF#000000##FFFFFF
##3F14701.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#332D42
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1470;
/* rgb */ color: rgb(63, 20, 112);
/* oklch */ color: oklch(31.9% 0.145 298.9);
Tailwind
colors: {
  custom: {
    50: '#7a579a',
    500: '#3f1470',
    950: '#000000',
  },
}
SCSS
$custom: #3f1470;
$custom-light: #7a579a;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1470",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 268.043,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31905,
    "c": 0.14507,
    "h": 298.9
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#3F1470
secondary
#73A639
accent
#ED3B9A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1470

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

Preview Lab → · Contrast checker → · Palette generator →

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