#3F136A#3F136A

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

Color values

HEX#3F136A
RGBrgb(63, 19, 106)
HSLhsl(270, 70%, 25%)
HSVhsv(270, 82%, 42%)
CMYKcmyk(40.6%, 82.1%, 0%, 58.4%)
CIE-LABlab(18.20, 38.46, -41.66)
CIE-LCHlch(18.20, 56.70, 312.71°)
OKLaboklab(31.23% 0.0727 -0.119)
OKLCHoklch(31.23% 0.139 301.4)
XYZxyz(4.8837, 2.5631, 13.8703)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F136A #3E6A13
analogous
#14136A #3F136A #6A136A
triadic
#3F136A #6A3F13 #136A3F
tetradic
#3F136A #6A1413 #3E6A13 #136A6A
square
#3F136A #6A1413 #3E6A13 #136A6A
split-complementary
#3F136A #6A6A13 #136A14
monochromatic
#0F051A #200A36 #3F136A #5E1C9E #7D26D2

Accessibility & contrast

On white

13.88
#3F136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F136A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F136A#FFFFFF#000000##FFFFFF
##3F136A1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002C68
Tritanopia (blue-blind)
#352A3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f136a;
/* rgb */ color: rgb(63, 19, 106);
/* oklch */ color: oklch(31.2% 0.139 301.4);
Tailwind
colors: {
  custom: {
    50: '#795695',
    500: '#3f136a',
    950: '#000000',
  },
}
SCSS
$custom: #3f136a;
$custom-light: #795695;
$custom-dark: #000000;
JSON
{
  "hex": "#3f136a",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 270.345,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31233,
    "c": 0.13947,
    "h": 301.4
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#3F136A
secondary
#6CA138
accent
#EC3B93
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F136A

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

Preview Lab → · Contrast checker → · Palette generator →

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