#3F1693#3F1693

#3F1693 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.182 H 287.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#3F1693
RGBrgb(63, 22, 147)
HSLhsl(260, 74%, 33%)
HSVhsv(260, 85%, 58%)
CMYKcmyk(57.1%, 85%, 0%, 42.4%)
CIE-LABlab(22.78, 48.26, -60.20)
CIE-LCHlch(22.78, 77.15, 308.72°)
OKLaboklab(35.66% 0.0561 -0.1733)
OKLCHoklch(35.66% 0.182 287.9)
XYZxyz(7.6017, 3.7368, 27.9188)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1693 #6A9316
analogous
#162B93 #3F1693 #7D1693
triadic
#3F1693 #933F16 #16933F
tetradic
#3F1693 #93162B #6A9316 #16937D
square
#3F1693 #93162B #6A9316 #16937D
split-complementary
#3F1693 #937D16 #2B9316
monochromatic
#110629 #280E5E #3F1693 #561EC8 #7641E3

Accessibility & contrast

On white

12.02
#3F1693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F1693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1693
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1693#FFFFFF#000000##FFFFFF
##3F16931.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#193D57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f1693;
/* rgb */ color: rgb(63, 22, 147);
/* oklch */ color: oklch(35.7% 0.182 287.9);
Tailwind
colors: {
  custom: {
    50: '#7f5bb4',
    500: '#3f1693',
    950: '#000000',
  },
}
SCSS
$custom: #3f1693;
$custom-light: #7f5bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1693",
  "rgb": {
    "r": 63,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 259.68,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35658,
    "c": 0.18214,
    "h": 287.9
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#3F1693
secondary
#99C342
accent
#F137B4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1693

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

Preview Lab → · Contrast checker → · Palette generator →

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