#3F104E#3F104E

#3F104E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.113 H 316.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#3F104E
RGBrgb(63, 16, 78)
HSLhsl(285, 66%, 18%)
HSVhsv(285, 79%, 31%)
CMYKcmyk(19.2%, 79.5%, 0%, 69.4%)
CIE-LABlab(15.37, 32.86, -27.53)
CIE-LCHlch(15.37, 42.87, 320.05°)
OKLaboklab(28.49% 0.0819 -0.0774)
OKLCHoklch(28.49% 0.113 316.6)
XYZxyz(3.6101, 1.9775, 7.3978)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F104E #1F4E10
analogous
#20104E #3F104E #4E103E
triadic
#3F104E #4E3F10 #104E3F
tetradic
#3F104E #4E2010 #1F4E10 #103E4E
square
#3F104E #4E2010 #1F4E10 #103E4E
split-complementary
#3F104E #3E4E10 #104E20
monochromatic
#150519 #16061B #3F104E #681A81 #9125B4

Accessibility & contrast

On white

15.05
#3F104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3F104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F104E
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F104E#FFFFFF#000000##FFFFFF
##3F104E1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#10284D
Tritanopia (blue-blind)
#3E1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f104e;
/* rgb */ color: rgb(63, 16, 78);
/* oklch */ color: oklch(28.5% 0.113 316.6);
Tailwind
colors: {
  custom: {
    50: '#775380',
    500: '#3f104e',
    950: '#000000',
  },
}
SCSS
$custom: #3f104e;
$custom-light: #775380;
$custom-dark: #000000;
JSON
{
  "hex": "#3f104e",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 285.484,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28493,
    "c": 0.11274,
    "h": 316.6
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#3F104E
secondary
#478832
accent
#E93F68
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F104E

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

Preview Lab → · Contrast checker → · Palette generator →

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