#3F1565#3F1565

#3F1565 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.132 H 303.3°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#3F1565
RGBrgb(63, 21, 101)
HSLhsl(272, 66%, 24%)
HSVhsv(272, 79%, 40%)
CMYKcmyk(37.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(18.07, 36.25, -38.60)
CIE-LCHlch(18.07, 52.96, 313.20°)
OKLaboklab(31% 0.0722 -0.11)
OKLCHoklch(31% 0.132 303.3)
XYZxyz(4.6665, 2.5327, 12.5524)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1565 #3B6515
analogous
#171565 #3F1565 #651563
triadic
#3F1565 #653F15 #15653F
tetradic
#3F1565 #651715 #3B6515 #156365
square
#3F1565 #651715 #3B6515 #156365
split-complementary
#3F1565 #636515 #156517
monochromatic
#100519 #1F0A32 #3F1565 #5F2098 #7E2ACA

Accessibility & contrast

On white

13.94
#3F1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1565
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1565#FFFFFF#000000##FFFFFF
##3F15651.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#37293C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1565;
/* rgb */ color: rgb(63, 21, 101);
/* oklch */ color: oklch(31.0% 0.132 303.3);
Tailwind
colors: {
  custom: {
    50: '#785792',
    500: '#3f1565',
    950: '#000000',
  },
}
SCSS
$custom: #3f1565;
$custom-light: #785792;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1565",
  "rgb": {
    "r": 63,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 271.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30998,
    "c": 0.13158,
    "h": 303.3
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#3F1565
secondary
#689C3A
accent
#E93F90
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1565

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

Preview Lab → · Contrast checker → · Palette generator →

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