#3F146B#3F146B

#3F146B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.139 H 300.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#3F146B
RGBrgb(63, 20, 107)
HSLhsl(270, 69%, 25%)
HSVhsv(270, 81%, 42%)
CMYKcmyk(41.1%, 81.3%, 0%, 58%)
CIE-LABlab(18.45, 38.28, -41.92)
CIE-LCHlch(18.45, 56.77, 312.41°)
OKLaboklab(31.43% 0.0715 -0.1197)
OKLCHoklch(31.43% 0.139 300.9)
XYZxyz(4.9532, 2.6186, 14.1515)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F146B #406B14
analogous
#14156B #3F146B #6A146B
triadic
#3F146B #6B3F14 #146B3F
tetradic
#3F146B #6B1415 #406B14 #146B6A
square
#3F146B #6B1415 #406B14 #146B6A
split-complementary
#3F146B #6B6A14 #156B14
monochromatic
#0F051A #210A37 #3F146B #5D1E9F #7C27D2

Accessibility & contrast

On white

13.78
#3F146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F146B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F146B#FFFFFF#000000##FFFFFF
##3F146B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#352B3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f146b;
/* rgb */ color: rgb(63, 20, 107);
/* oklch */ color: oklch(31.4% 0.139 300.9);
Tailwind
colors: {
  custom: {
    50: '#795796',
    500: '#3f146b',
    950: '#000000',
  },
}
SCSS
$custom: #3f146b;
$custom-light: #795796;
$custom-dark: #000000;
JSON
{
  "hex": "#3f146b",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 269.655,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31433,
    "c": 0.13949,
    "h": 300.9
  },
  "luminance": 0.02619
}

Semantic roles & 50–950 ramp

primary
#3F146B
secondary
#6EA239
accent
#EB3C95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F146B

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

Preview Lab → · Contrast checker → · Palette generator →

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