#3F135D#3F135D

#3F135D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.125 H 307.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#3F135D
RGBrgb(63, 19, 93)
HSLhsl(276, 66%, 22%)
HSVhsv(276, 80%, 36%)
CMYKcmyk(32.3%, 79.6%, 0%, 63.5%)
CIE-LABlab(17.05, 35.12, -34.95)
CIE-LCHlch(17.05, 49.55, 315.14°)
OKLaboklab(30.07% 0.0761 -0.0993)
OKLCHoklch(30.07% 0.125 307.5)
XYZxyz(4.2581, 2.3129, 10.5759)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F135D #315D13
analogous
#1A135D #3F135D #5D1356
triadic
#3F135D #5D3F13 #135D3F
tetradic
#3F135D #5D1A13 #315D13 #13565D
square
#3F135D #5D1A13 #315D13 #13565D
split-complementary
#3F135D #565D13 #135D1A
monochromatic
#110519 #1D092A #3F135D #611D90 #8428C3

Accessibility & contrast

On white

14.36
#3F135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3F135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F135D
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F135D#FFFFFF#000000##FFFFFF
##3F135D1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#3A2537
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f135d;
/* rgb */ color: rgb(63, 19, 93);
/* oklch */ color: oklch(30.1% 0.125 307.5);
Tailwind
colors: {
  custom: {
    50: '#78568b',
    500: '#3f135d',
    950: '#000000',
  },
}
SCSS
$custom: #3f135d;
$custom-light: #78568b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f135d",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 275.676,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30066,
    "c": 0.12507,
    "h": 307.5
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#3F135D
secondary
#5D9537
accent
#E93F84
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F135D

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

Preview Lab → · Contrast checker → · Palette generator →

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