#3F105A#3F105A

#3F105A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.125 H 309.5°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#3F105A
RGBrgb(63, 16, 90)
HSLhsl(278, 70%, 21%)
HSVhsv(278, 82%, 35%)
CMYKcmyk(30%, 82.2%, 0%, 64.7%)
CIE-LABlab(16.33, 35.71, -34.11)
CIE-LCHlch(16.33, 49.38, 316.31°)
OKLaboklab(29.48% 0.0798 -0.0968)
OKLCHoklch(29.48% 0.125 309.5)
XYZxyz(4.0803, 2.1656, 9.8739)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F105A #2B5A10
analogous
#1A105A #3F105A #5A1050
triadic
#3F105A #5A3F10 #105A3F
tetradic
#3F105A #5A1A10 #2B5A10 #10505A
square
#3F105A #5A1A10 #2B5A10 #10505A
split-complementary
#3F105A #505A10 #105A1A
monochromatic
#12051A #1B0726 #3F105A #63198E #8822C2

Accessibility & contrast

On white

14.65
#3F105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F105A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F105A#FFFFFF#000000##FFFFFF
##3F105A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002958
Tritanopia (blue-blind)
#3B2234
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f105a;
/* rgb */ color: rgb(63, 16, 90);
/* oklch */ color: oklch(29.5% 0.125 309.5);
Tailwind
colors: {
  custom: {
    50: '#785489',
    500: '#3f105a',
    950: '#000000',
  },
}
SCSS
$custom: #3f105a;
$custom-light: #785489;
$custom-dark: #000000;
JSON
{
  "hex": "#3f105a",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 278.108,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29481,
    "c": 0.12544,
    "h": 309.5
  },
  "luminance": 0.02166
}

Semantic roles & 50–950 ramp

primary
#3F105A
secondary
#569333
accent
#ED3B7C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F105A

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

Preview Lab → · Contrast checker → · Palette generator →

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