#3F1364#3F1364

#3F1364 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.133 H 304.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#3F1364
RGBrgb(63, 19, 100)
HSLhsl(273, 68%, 23%)
HSVhsv(273, 81%, 39%)
CMYKcmyk(37%, 81%, 0%, 60.8%)
CIE-LABlab(17.66, 36.91, -38.61)
CIE-LCHlch(17.66, 53.41, 313.71°)
OKLaboklab(30.68% 0.0744 -0.11)
OKLCHoklch(30.68% 0.133 304.1)
XYZxyz(4.5825, 2.4426, 12.2842)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1364 #386413
analogous
#171364 #3F1364 #641360
triadic
#3F1364 #643F13 #13643F
tetradic
#3F1364 #641713 #386413 #136064
square
#3F1364 #641713 #386413 #136064
split-complementary
#3F1364 #606413 #136417
monochromatic
#10051A #1F0931 #3F1364 #5F1D97 #8027CB

Accessibility & contrast

On white

14.11
#3F1364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F1364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1364
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1364#FFFFFF#000000##FFFFFF
##3F13641.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#38283B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1364;
/* rgb */ color: rgb(63, 19, 100);
/* oklch */ color: oklch(30.7% 0.133 304.1);
Tailwind
colors: {
  custom: {
    50: '#785691',
    500: '#3f1364',
    950: '#000000',
  },
}
SCSS
$custom: #3f1364;
$custom-light: #785691;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1364",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 100
  },
  "hsl": {
    "h": 272.593,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30683,
    "c": 0.13283,
    "h": 304.1
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#3F1364
secondary
#659C37
accent
#EB3D8C
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1364

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

Preview Lab → · Contrast checker → · Palette generator →

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