#3F137F#3F137F

#3F137F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.163 H 293.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#3F137F
RGBrgb(63, 19, 127)
HSLhsl(264, 74%, 29%)
HSVhsv(264, 85%, 50%)
CMYKcmyk(50.4%, 85%, 0%, 50.2%)
CIE-LABlab(20.26, 44.02, -51.81)
CIE-LCHlch(20.26, 67.99, 310.35°)
OKLaboklab(33.29% 0.0656 -0.1488)
OKLCHoklch(33.29% 0.163 293.8)
XYZxyz(6.1125, 3.0546, 20.3421)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F137F #537F13
analogous
#131D7F #3F137F #75137F
triadic
#3F137F #7F3F13 #137F3F
tetradic
#3F137F #7F131D #537F13 #137F75
square
#3F137F #7F131D #537F13 #137F75
split-complementary
#3F137F #7F7513 #1D7F13
monochromatic
#0D041B #250B4A #3F137F #591BB4 #762DE0

Accessibility & contrast

On white

13.04
#3F137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3F137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F137F
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F137F#FFFFFF#000000##FFFFFF
##3F137F1.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#2B334A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f137f;
/* rgb */ color: rgb(63, 19, 127);
/* oklch */ color: oklch(33.3% 0.163 293.8);
Tailwind
colors: {
  custom: {
    50: '#7c58a5',
    500: '#3f137f',
    950: '#000000',
  },
}
SCSS
$custom: #3f137f;
$custom-light: #7c58a5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f137f",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 264.444,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33291,
    "c": 0.16257,
    "h": 293.8
  },
  "luminance": 0.03055
}

Semantic roles & 50–950 ramp

primary
#3F137F
secondary
#82B439
accent
#F137A5
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3F137F

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

Preview Lab → · Contrast checker → · Palette generator →

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