#3F146A#3F146A

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

Color values

HEX#3F146A
RGBrgb(63, 20, 106)
HSLhsl(270, 68%, 25%)
HSVhsv(270, 81%, 42%)
CMYKcmyk(40.6%, 81.1%, 0%, 58.4%)
CIE-LABlab(18.35, 38.02, -41.41)
CIE-LCHlch(18.35, 56.22, 312.55°)
OKLaboklab(31.34% 0.0718 -0.1183)
OKLCHoklch(31.34% 0.138 301.3)
XYZxyz(4.9009, 2.5976, 13.8761)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F146A #3F6A14
analogous
#14146A #3F146A #6A146A
triadic
#3F146A #6A3F14 #146A3F
tetradic
#3F146A #6A1414 #3F6A14 #146A6A
square
#3F146A #6A1414 #3F6A14 #146A6A
split-complementary
#3F146A #6A6A14 #146A14
monochromatic
#0F051A #200A37 #3F146A #5E1E9D #7C27D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F146A#FFFFFF#000000##FFFFFF
##3F146A1.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)
#002C6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#352B3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f146a;
/* rgb */ color: rgb(63, 20, 106);
/* oklch */ color: oklch(31.3% 0.138 301.3);
Tailwind
colors: {
  custom: {
    50: '#795795',
    500: '#3f146a',
    950: '#000000',
  },
}
SCSS
$custom: #3f146a;
$custom-light: #795795;
$custom-dark: #000000;
JSON
{
  "hex": "#3f146a",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 270,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3134,
    "c": 0.13837,
    "h": 301.3
  },
  "luminance": 0.02598
}

Semantic roles & 50–950 ramp

primary
#3F146A
secondary
#6DA139
accent
#EB3D94
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F146A

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

Preview Lab → · Contrast checker → · Palette generator →

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