#3F146E#3F146E

#3F146E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.143 H 299.6°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#3F146E
RGBrgb(63, 20, 110)
HSLhsl(269, 69%, 25%)
HSVhsv(269, 82%, 43%)
CMYKcmyk(42.7%, 81.8%, 0%, 56.9%)
CIE-LABlab(18.73, 39.08, -43.41)
CIE-LCHlch(18.73, 58.41, 311.99°)
OKLaboklab(31.71% 0.0706 -0.1241)
OKLCHoklch(31.71% 0.143 299.6)
XYZxyz(5.1138, 2.6828, 14.9972)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F146E #436E14
analogous
#14166E #3F146E #6C146E
triadic
#3F146E #6E3F14 #146E3F
tetradic
#3F146E #6E1416 #436E14 #146E6C
square
#3F146E #6E1416 #436E14 #146E6C
split-complementary
#3F146E #6E6C14 #166E14
monochromatic
#0F051A #210B3A #3F146E #5D1DA2 #7A27D6

Accessibility & contrast

On white

13.67
#3F146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F146E
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F146E#FFFFFF#000000##FFFFFF
##3F146E1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#342C41
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f146e;
/* rgb */ color: rgb(63, 20, 110);
/* oklch */ color: oklch(31.7% 0.143 299.6);
Tailwind
colors: {
  custom: {
    50: '#795798',
    500: '#3f146e',
    950: '#000000',
  },
}
SCSS
$custom: #3f146e;
$custom-light: #795798;
$custom-dark: #000000;
JSON
{
  "hex": "#3f146e",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 268.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31714,
    "c": 0.14283,
    "h": 299.6
  },
  "luminance": 0.02683
}

Semantic roles & 50–950 ramp

primary
#3F146E
secondary
#71A539
accent
#EC3C98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F146E

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

Preview Lab → · Contrast checker → · Palette generator →

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