#3F1083#3F1083

#3F1083 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.169 H 292.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#3F1083
RGBrgb(63, 16, 131)
HSLhsl(265, 78%, 29%)
HSVhsv(265, 88%, 51%)
CMYKcmyk(51.9%, 87.8%, 0%, 48.6%)
CIE-LABlab(20.31, 46.19, -54.28)
CIE-LCHlch(20.31, 71.27, 310.40°)
OKLaboklab(33.45% 0.0659 -0.1559)
OKLCHoklch(33.45% 0.169 292.9)
XYZxyz(6.3308, 3.0658, 21.7265)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1083 #548310
analogous
#101B83 #3F1083 #791083
triadic
#3F1083 #833F10 #10833F
tetradic
#3F1083 #83101B #548310 #108379
square
#3F1083 #83101B #548310 #108379
split-complementary
#3F1083 #837910 #1B8310
monochromatic
#0D031B #25094C #3F1083 #5917BA #7629E5

Accessibility & contrast

On white

13.02
#3F1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3F1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1083
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1083#FFFFFF#000000##FFFFFF
##3F10831.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003286
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#28344C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1083;
/* rgb */ color: rgb(63, 16, 131);
/* oklch */ color: oklch(33.4% 0.169 292.9);
Tailwind
colors: {
  custom: {
    50: '#7d57a8',
    500: '#3f1083',
    950: '#000000',
  },
}
SCSS
$custom: #3f1083;
$custom-light: #7d57a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1083",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 264.522,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.16927,
    "h": 292.9
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#3F1083
secondary
#83B936
accent
#F533A6
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B0310
muted
#7C787F

Preview Lab

Preview with #3F1083

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

Preview Lab → · Contrast checker → · Palette generator →

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