#3F146F#3F146F

#3F146F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.144 H 299.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#3F146F
RGBrgb(63, 20, 111)
HSLhsl(268, 69%, 26%)
HSVhsv(268, 82%, 44%)
CMYKcmyk(43.2%, 82%, 0%, 56.5%)
CIE-LABlab(18.82, 39.34, -43.91)
CIE-LCHlch(18.82, 58.96, 311.86°)
OKLaboklab(31.81% 0.0703 -0.1256)
OKLCHoklch(31.81% 0.144 299.2)
XYZxyz(5.1686, 2.7047, 15.2856)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F146F #446F14
analogous
#14166F #3F146F #6C146F
triadic
#3F146F #6F3F14 #146F3F
tetradic
#3F146F #6F1416 #446F14 #146F6C
square
#3F146F #6F1416 #446F14 #146F6C
split-complementary
#3F146F #6F6C14 #166F14
monochromatic
#0F051A #220B3B #3F146F #5C1DA3 #7A27D7

Accessibility & contrast

On white

13.63
#3F146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F146F
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F146F#FFFFFF#000000##FFFFFF
##3F146F1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#332D41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f146f;
/* rgb */ color: rgb(63, 20, 111);
/* oklch */ color: oklch(31.8% 0.144 299.2);
Tailwind
colors: {
  custom: {
    50: '#7a5799',
    500: '#3f146f',
    950: '#000000',
  },
}
SCSS
$custom: #3f146f;
$custom-light: #7a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#3f146f",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 268.352,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.14395,
    "h": 299.2
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#3F146F
secondary
#72A639
accent
#EC3C99
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F146F

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

Preview Lab → · Contrast checker → · Palette generator →

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