#3F135A#3F135A

#3F135A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.122 H 309.0°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#3F135A
RGBrgb(63, 19, 90)
HSLhsl(277, 65%, 21%)
HSVhsv(277, 79%, 35%)
CMYKcmyk(30%, 78.9%, 0%, 64.7%)
CIE-LABlab(16.80, 34.37, -33.35)
CIE-LCHlch(16.80, 47.89, 315.86°)
OKLaboklab(29.81% 0.0767 -0.0946)
OKLCHoklch(29.81% 0.122 309)
XYZxyz(4.1279, 2.2608, 9.8898)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F135A #2E5A13
analogous
#1C135A #3F135A #5A1352
triadic
#3F135A #5A3F13 #135A3F
tetradic
#3F135A #5A1C13 #2E5A13 #13525A
square
#3F135A #5A1C13 #2E5A13 #13525A
split-complementary
#3F135A #525A13 #135A1C
monochromatic
#120519 #1C0827 #3F135A #621E8D #8628BF

Accessibility & contrast

On white

14.46
#3F135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F135A
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F135A#FFFFFF#000000##FFFFFF
##3F135A1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#022A59
Tritanopia (blue-blind)
#3B2435
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f135a;
/* rgb */ color: rgb(63, 19, 90);
/* oklch */ color: oklch(29.8% 0.122 309.0);
Tailwind
colors: {
  custom: {
    50: '#775689',
    500: '#3f135a',
    950: '#000000',
  },
}
SCSS
$custom: #3f135a;
$custom-light: #775689;
$custom-dark: #000000;
JSON
{
  "hex": "#3f135a",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 277.183,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2981,
    "c": 0.12174,
    "h": 309
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#3F135A
secondary
#599237
accent
#E84080
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F135A

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

Preview Lab → · Contrast checker → · Palette generator →

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