#3F1C6E#3F1C6E

#3F1C6E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.133 H 298.1°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#3F1C6E
RGBrgb(63, 28, 110)
HSLhsl(266, 59%, 27%)
HSVhsv(266, 75%, 43%)
CMYKcmyk(42.7%, 74.5%, 0%, 56.9%)
CIE-LABlab(20.10, 35.18, -41.18)
CIE-LCHlch(20.10, 54.16, 310.51°)
OKLaboklab(32.68% 0.0628 -0.1176)
OKLCHoklch(32.68% 0.133 298.1)
XYZxyz(5.2789, 3.0130, 15.0523)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C6E #4B6E1C
analogous
#1C226E #3F1C6E #681C6E
triadic
#3F1C6E #6E3F1C #1C6E3F
tetradic
#3F1C6E #6E1C22 #4B6E1C #1C6E68
square
#3F1C6E #6E1C22 #4B6E1C #1C6E68
split-complementary
#3F1C6E #6E681C #226E1C
monochromatic
#0E0618 #23103D #3F1C6E #5B289F #7738CC

Accessibility & contrast

On white

13.10
#3F1C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3F1C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C6E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C6E#FFFFFF#000000##FFFFFF
##3F1C6E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#333043
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1c6e;
/* rgb */ color: rgb(63, 28, 110);
/* oklch */ color: oklch(32.7% 0.133 298.1);
Tailwind
colors: {
  custom: {
    50: '#795b98',
    500: '#3f1c6e',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c6e;
$custom-light: #795b98;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c6e",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 110
  },
  "hsl": {
    "h": 265.61,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.13335,
    "h": 298.1
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#3F1C6E
secondary
#7AA343
accent
#E3459F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F1C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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