#3F1263#3F1263

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

Color values

HEX#3F1263
RGBrgb(63, 18, 99)
HSLhsl(273, 69%, 23%)
HSVhsv(273, 82%, 39%)
CMYKcmyk(36.4%, 81.8%, 0%, 61.2%)
CIE-LABlab(17.41, 37.09, -38.35)
CIE-LCHlch(17.41, 53.35, 314.05°)
OKLaboklab(30.49% 0.0756 -0.1092)
OKLCHoklch(30.49% 0.133 304.7)
XYZxyz(4.5178, 2.3902, 12.0253)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1263 #366312
analogous
#161263 #3F1263 #63125E
triadic
#3F1263 #633F12 #12633F
tetradic
#3F1263 #631612 #366312 #125E63
square
#3F1263 #631612 #366312 #125E63
split-complementary
#3F1263 #5E6312 #126316
monochromatic
#10051A #1E092F #3F1263 #601B97 #8125CB

Accessibility & contrast

On white

14.21
#3F1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1263
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1263#FFFFFF#000000##FFFFFF
##3F12631.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1263;
/* rgb */ color: rgb(63, 18, 99);
/* oklch */ color: oklch(30.5% 0.133 304.7);
Tailwind
colors: {
  custom: {
    50: '#785690',
    500: '#3f1263',
    950: '#000000',
  },
}
SCSS
$custom: #3f1263;
$custom-light: #785690;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1263",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 273.333,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.13287,
    "h": 304.7
  },
  "luminance": 0.0239
}

Semantic roles & 50–950 ramp

primary
#3F1263
secondary
#639B36
accent
#EC3C8A
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3F1263

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

Preview Lab → · Contrast checker → · Palette generator →

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