#3F108D#3F108D

#3F108D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.180 H 290.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#3F108D
RGBrgb(63, 16, 141)
HSLhsl(263, 80%, 31%)
HSVhsv(263, 89%, 55%)
CMYKcmyk(55.3%, 88.7%, 0%, 44.7%)
CIE-LABlab(21.39, 48.81, -58.76)
CIE-LCHlch(21.39, 76.39, 309.72°)
OKLaboklab(34.52% 0.0617 -0.169)
OKLCHoklch(34.52% 0.18 290.1)
XYZxyz(7.0415, 3.3501, 25.4697)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F108D #5E8D10
analogous
#101F8D #3F108D #7D108D
triadic
#3F108D #8D3F10 #108D3F
tetradic
#3F108D #8D101F #5E8D10 #108D7D
square
#3F108D #8D101F #5E8D10 #108D7D
split-complementary
#3F108D #8D7D10 #1F8D10
monochromatic
#0E041F #260A56 #3F108D #5816C4 #7530E7

Accessibility & contrast

On white

12.57
#3F108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F108D
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F108D#FFFFFF#000000##FFFFFF
##3F108D1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003590
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#203952
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f108d;
/* rgb */ color: rgb(63, 16, 141);
/* oklch */ color: oklch(34.5% 0.180 290.1);
Tailwind
colors: {
  custom: {
    50: '#7e58b0',
    500: '#3f108d',
    950: '#000000',
  },
}
SCSS
$custom: #3f108d;
$custom-light: #7e58b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f108d",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 262.56,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34515,
    "c": 0.17992,
    "h": 290.1
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#3F108D
secondary
#8EC237
accent
#F632AC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F108D

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

Preview Lab → · Contrast checker → · Palette generator →

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