#3F136C#3F136C

#3F136C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.142 H 300.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#3F136C
RGBrgb(63, 19, 108)
HSLhsl(270, 70%, 25%)
HSVhsv(270, 82%, 42%)
CMYKcmyk(41.7%, 82.4%, 0%, 57.6%)
CIE-LABlab(18.39, 38.98, -42.67)
CIE-LCHlch(18.39, 57.79, 312.42°)
OKLaboklab(31.42% 0.0721 -0.1219)
OKLCHoklch(31.42% 0.142 300.6)
XYZxyz(4.9889, 2.6052, 14.4245)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F136C #406C13
analogous
#13136C #3F136C #6C136C
triadic
#3F136C #6C3F13 #136C3F
tetradic
#3F136C #6C1313 #406C13 #136C6C
square
#3F136C #6C1313 #406C13 #136C6C
split-complementary
#3F136C #6C6C13 #136C13
monochromatic
#0F051A #210A38 #3F136C #5D1CA0 #7C25D4

Accessibility & contrast

On white

13.81
#3F136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F136C
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F136C#FFFFFF#000000##FFFFFF
##3F136C1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#352B3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f136c;
/* rgb */ color: rgb(63, 19, 108);
/* oklch */ color: oklch(31.4% 0.142 300.6);
Tailwind
colors: {
  custom: {
    50: '#795797',
    500: '#3f136c',
    950: '#000000',
  },
}
SCSS
$custom: #3f136c;
$custom-light: #795797;
$custom-dark: #000000;
JSON
{
  "hex": "#3f136c",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 269.663,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31421,
    "c": 0.14168,
    "h": 300.6
  },
  "luminance": 0.02605
}

Semantic roles & 50–950 ramp

primary
#3F136C
secondary
#6EA338
accent
#ED3B95
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F136C

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

Preview Lab → · Contrast checker → · Palette generator →

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