#3F1165#3F1165

#3F1165 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.136 H 303.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3F1165
RGBrgb(63, 17, 101)
HSLhsl(273, 71%, 23%)
HSVhsv(273, 83%, 40%)
CMYKcmyk(37.6%, 83.2%, 0%, 60.4%)
CIE-LABlab(17.45, 38.03, -39.61)
CIE-LCHlch(17.45, 54.91, 313.83°)
OKLaboklab(30.56% 0.076 -0.1129)
OKLCHoklch(30.56% 0.136 303.9)
XYZxyz(4.5988, 2.3973, 12.5298)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1165 #376511
analogous
#151165 #3F1165 #651161
triadic
#3F1165 #653F11 #11653F
tetradic
#3F1165 #651511 #376511 #116165
square
#3F1165 #651511 #376511 #116165
split-complementary
#3F1165 #616511 #116515
monochromatic
#10041A #1E0831 #3F1165 #601A99 #8023CE

Accessibility & contrast

On white

14.19
#3F1165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F1165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1165
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1165#FFFFFF#000000##FFFFFF
##3F11651.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#37273B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1165;
/* rgb */ color: rgb(63, 17, 101);
/* oklch */ color: oklch(30.6% 0.136 303.9);
Tailwind
colors: {
  custom: {
    50: '#795592',
    500: '#3f1165',
    950: '#000000',
  },
}
SCSS
$custom: #3f1165;
$custom-light: #795592;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1165",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 272.857,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30564,
    "c": 0.13614,
    "h": 303.9
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#3F1165
secondary
#649D35
accent
#EE3A8B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1165

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

Preview Lab → · Contrast checker → · Palette generator →

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