#3F135E#3F135E

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

Color values

HEX#3F135E
RGBrgb(63, 19, 94)
HSLhsl(275, 66%, 22%)
HSVhsv(275, 80%, 37%)
CMYKcmyk(33%, 79.8%, 0%, 63.1%)
CIE-LABlab(17.14, 35.38, -35.48)
CIE-LCHlch(17.14, 50.10, 314.91°)
OKLaboklab(30.15% 0.0759 -0.1008)
OKLCHoklch(30.15% 0.126 307)
XYZxyz(4.3027, 2.3307, 10.8107)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F135E #325E13
analogous
#1A135E #3F135E #5E1358
triadic
#3F135E #5E3F13 #135E3F
tetradic
#3F135E #5E1A13 #325E13 #13585E
square
#3F135E #5E1A13 #325E13 #13585E
split-complementary
#3F135E #585E13 #135E1A
monochromatic
#110519 #1D092B #3F135E #611D91 #8328C4

Accessibility & contrast

On white

14.32
#3F135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F135E
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F135E#FFFFFF#000000##FFFFFF
##3F135E1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#3A2537
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f135e;
/* rgb */ color: rgb(63, 19, 94);
/* oklch */ color: oklch(30.2% 0.126 307.0);
Tailwind
colors: {
  custom: {
    50: '#78568c',
    500: '#3f135e',
    950: '#000000',
  },
}
SCSS
$custom: #3f135e;
$custom-light: #78568c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f135e",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 275.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.30152,
    "c": 0.12618,
    "h": 307
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#3F135E
secondary
#5E9637
accent
#E93F85
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F135E

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

Preview Lab → · Contrast checker → · Palette generator →

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