#3F135F#3F135F

#3F135F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.127 H 306.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3F135F
RGBrgb(63, 19, 95)
HSLhsl(275, 67%, 22%)
HSVhsv(275, 80%, 37%)
CMYKcmyk(33.7%, 80%, 0%, 62.7%)
CIE-LABlab(17.22, 35.63, -36.01)
CIE-LCHlch(17.22, 50.66, 314.70°)
OKLaboklab(30.24% 0.0756 -0.1024)
OKLCHoklch(30.24% 0.127 306.5)
XYZxyz(4.3479, 2.3488, 11.0486)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F135F #335F13
analogous
#19135F #3F135F #5F1359
triadic
#3F135F #5F3F13 #135F3F
tetradic
#3F135F #5F1913 #335F13 #13595F
square
#3F135F #5F1913 #335F13 #13595F
split-complementary
#3F135F #595F13 #135F19
monochromatic
#11051A #1D092C #3F135F #611D92 #8327C5

Accessibility & contrast

On white

14.29
#3F135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F135F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F135F#FFFFFF#000000##FFFFFF
##3F135F1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#392638
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f135f;
/* rgb */ color: rgb(63, 19, 95);
/* oklch */ color: oklch(30.2% 0.127 306.5);
Tailwind
colors: {
  custom: {
    50: '#78568d',
    500: '#3f135f',
    950: '#000000',
  },
}
SCSS
$custom: #3f135f;
$custom-light: #78568d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f135f",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 274.737,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30239,
    "c": 0.12729,
    "h": 306.5
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#3F135F
secondary
#5F9737
accent
#EA3E86
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F135F

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

Preview Lab → · Contrast checker → · Palette generator →

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