#3F106A#3F106A

#3F106A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.143 H 301.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#3F106A
RGBrgb(63, 16, 106)
HSLhsl(271, 74%, 24%)
HSVhsv(271, 85%, 42%)
CMYKcmyk(40.6%, 84.9%, 0%, 58.4%)
CIE-LABlab(17.77, 39.70, -42.37)
CIE-LCHlch(17.77, 58.06, 313.14°)
OKLaboklab(30.93% 0.0753 -0.121)
OKLCHoklch(30.93% 0.143 301.9)
XYZxyz(4.8361, 2.4679, 13.8544)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F106A #3B6A10
analogous
#12106A #3F106A #6A1068
triadic
#3F106A #6A3F10 #106A3F
tetradic
#3F106A #6A1210 #3B6A10 #10686A
square
#3F106A #6A1210 #3B6A10 #10686A
split-complementary
#3F106A #686A10 #106A12
monochromatic
#10041B #1F0835 #3F106A #5F189F #7E20D4

Accessibility & contrast

On white

14.06
#3F106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F106A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F106A#FFFFFF#000000##FFFFFF
##3F106A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#36293E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f106a;
/* rgb */ color: rgb(63, 16, 106);
/* oklch */ color: oklch(30.9% 0.143 301.9);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3f106a',
    950: '#000000',
  },
}
SCSS
$custom: #3f106a;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3f106a",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 271.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30934,
    "c": 0.14254,
    "h": 301.9
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#3F106A
secondary
#68A234
accent
#F03790
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F106A

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

Preview Lab → · Contrast checker → · Palette generator →

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