#3F1362#3F1362

#3F1362 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.131 H 305.0°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#3F1362
RGBrgb(63, 19, 98)
HSLhsl(273, 68%, 23%)
HSVhsv(273, 81%, 38%)
CMYKcmyk(35.7%, 80.6%, 0%, 61.6%)
CIE-LABlab(17.48, 36.39, -37.58)
CIE-LCHlch(17.48, 52.31, 314.08°)
OKLaboklab(30.5% 0.0749 -0.107)
OKLCHoklch(30.5% 0.131 305)
XYZxyz(4.4869, 2.4044, 11.7806)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1362 #366213
analogous
#181362 #3F1362 #62135D
triadic
#3F1362 #623F13 #13623F
tetradic
#3F1362 #621813 #366213 #135D62
square
#3F1362 #621813 #366213 #135D62
split-complementary
#3F1362 #5D6213 #136218
monochromatic
#10051A #1E092F #3F1362 #601D95 #8127C9

Accessibility & contrast

On white

14.18
#3F1362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1362
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1362#FFFFFF#000000##FFFFFF
##3F13621.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A64
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#38273A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1362;
/* rgb */ color: rgb(63, 19, 98);
/* oklch */ color: oklch(30.5% 0.131 305.0);
Tailwind
colors: {
  custom: {
    50: '#78568f',
    500: '#3f1362',
    950: '#000000',
  },
}
SCSS
$custom: #3f1362;
$custom-light: #78568f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1362",
  "rgb": {
    "r": 63,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 273.418,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30504,
    "c": 0.13061,
    "h": 305
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#3F1362
secondary
#639A37
accent
#EA3D8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1362

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

Preview Lab → · Contrast checker → · Palette generator →

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