#3F1A73#3F1A73

#3F1A73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.142 H 296.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#3F1A73
RGBrgb(63, 26, 115)
HSLhsl(265, 63%, 28%)
HSVhsv(265, 77%, 45%)
CMYKcmyk(45.2%, 77.4%, 0%, 54.9%)
CIE-LABlab(20.18, 37.61, -44.28)
CIE-LCHlch(20.18, 58.10, 310.35°)
OKLaboklab(32.88% 0.0637 -0.1267)
OKLCHoklch(32.88% 0.142 296.7)
XYZxyz(5.5130, 3.0332, 16.5113)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1A73 #4E731A
analogous
#1A2173 #3F1A73 #6C1A73
triadic
#3F1A73 #733F1A #1A733F
tetradic
#3F1A73 #731A21 #4E731A #1A736C
square
#3F1A73 #731A21 #4E731A #1A736C
split-complementary
#3F1A73 #736C1A #21731A
monochromatic
#0E0619 #240F41 #3F1A73 #5A25A5 #7736D2

Accessibility & contrast

On white

13.07
#3F1A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1A73
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1A73#FFFFFF#000000##FFFFFF
##3F1A731.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#313145
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1a73;
/* rgb */ color: rgb(63, 26, 115);
/* oklch */ color: oklch(32.9% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#7a5b9c',
    500: '#3f1a73',
    950: '#000000',
  },
}
SCSS
$custom: #3f1a73;
$custom-light: #7a5b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1a73",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 115
  },
  "hsl": {
    "h": 264.944,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32875,
    "c": 0.14183,
    "h": 296.7
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#3F1A73
secondary
#7DA841
accent
#E642A2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1A73

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

Preview Lab → · Contrast checker → · Palette generator →

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