#3F1063#3F1063

#3F1063 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.135 H 305.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3F1063
RGBrgb(63, 16, 99)
HSLhsl(274, 72%, 23%)
HSVhsv(274, 84%, 39%)
CMYKcmyk(36.4%, 83.8%, 0%, 61.2%)
CIE-LABlab(17.12, 37.93, -38.82)
CIE-LCHlch(17.12, 54.28, 314.34°)
OKLaboklab(30.28% 0.0775 -0.1106)
OKLCHoklch(30.28% 0.135 305)
XYZxyz(4.4868, 2.3282, 12.0150)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1063 #346310
analogous
#161063 #3F1063 #63105D
triadic
#3F1063 #633F10 #10633F
tetradic
#3F1063 #631610 #346310 #105D63
square
#3F1063 #631610 #346310 #105D63
split-complementary
#3F1063 #5D6310 #106316
monochromatic
#11041A #1D072E #3F1063 #611998 #8221CC

Accessibility & contrast

On white

14.33
#3F1063 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1063 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1063
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1063#FFFFFF#000000##FFFFFF
##3F10631.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002965
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#38263A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1063;
/* rgb */ color: rgb(63, 16, 99);
/* oklch */ color: oklch(30.3% 0.135 305.0);
Tailwind
colors: {
  custom: {
    50: '#785590',
    500: '#3f1063',
    950: '#000000',
  },
}
SCSS
$custom: #3f1063;
$custom-light: #785590;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1063",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 99
  },
  "hsl": {
    "h": 273.976,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30281,
    "c": 0.13505,
    "h": 305
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#3F1063
secondary
#609C33
accent
#EF3988
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3F1063

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

Preview Lab → · Contrast checker → · Palette generator →

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