#3F136F#3F136F

#3F136F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.145 H 299.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3F136F
RGBrgb(63, 19, 111)
HSLhsl(269, 71%, 25%)
HSVhsv(269, 83%, 44%)
CMYKcmyk(43.2%, 82.9%, 0%, 56.5%)
CIE-LABlab(18.67, 39.77, -44.15)
CIE-LCHlch(18.67, 59.43, 312.01°)
OKLaboklab(31.71% 0.0712 -0.1263)
OKLCHoklch(31.71% 0.145 299.4)
XYZxyz(5.1513, 2.6701, 15.2798)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F136F #436F13
analogous
#13156F #3F136F #6D136F
triadic
#3F136F #6F3F13 #136F3F
tetradic
#3F136F #6F1315 #436F13 #136F6D
square
#3F136F #6F1315 #436F13 #136F6D
split-complementary
#3F136F #6F6D13 #156F13
monochromatic
#0F041A #210A3B #3F136F #5D1CA3 #7A25D8

Accessibility & contrast

On white

13.69
#3F136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3F136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F136F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F136F#FFFFFF#000000##FFFFFF
##3F136F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#332C41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f136f;
/* rgb */ color: rgb(63, 19, 111);
/* oklch */ color: oklch(31.7% 0.145 299.4);
Tailwind
colors: {
  custom: {
    50: '#7a5799',
    500: '#3f136f',
    950: '#000000',
  },
}
SCSS
$custom: #3f136f;
$custom-light: #7a5799;
$custom-dark: #000000;
JSON
{
  "hex": "#3f136f",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 268.696,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31705,
    "c": 0.14499,
    "h": 299.4
  },
  "luminance": 0.0267
}

Semantic roles & 50–950 ramp

primary
#3F136F
secondary
#71A638
accent
#EE3A98
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F136F

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

Preview Lab → · Contrast checker → · Palette generator →

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