#3F1AA0#3F1AA0

#3F1AA0 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.194 H 284.7°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#3F1AA0
RGBrgb(63, 26, 160)
HSLhsl(257, 72%, 36%)
HSVhsv(257, 84%, 63%)
CMYKcmyk(60.6%, 83.8%, 0%, 37.3%)
CIE-LABlab(24.74, 50.26, -64.94)
CIE-LCHlch(24.74, 82.11, 307.74°)
OKLaboklab(37.43% 0.0491 -0.1872)
OKLCHoklch(37.43% 0.194 284.7)
XYZxyz(8.7625, 4.3331, 33.6255)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1AA0 #7BA01A
analogous
#1A38A0 #3F1AA0 #821AA0
triadic
#3F1AA0 #A03F1A #1AA03F
tetradic
#3F1AA0 #A01A38 #7BA01A #1AA082
square
#3F1AA0 #A01A38 #7BA01A #1AA082
split-complementary
#3F1AA0 #A0821A #38A01A
monochromatic
#160937 #2A116B #3F1AA0 #5423D5 #7A52E3

Accessibility & contrast

On white

11.25
#3F1AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F1AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1AA0
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1AA0#FFFFFF#000000##FFFFFF
##3F1AA01.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1aa0;
/* rgb */ color: rgb(63, 26, 160);
/* oklch */ color: oklch(37.4% 0.194 284.7);
Tailwind
colors: {
  custom: {
    50: '#815dbd',
    500: '#3f1aa0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1aa0;
$custom-light: #815dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1aa0",
  "rgb": {
    "r": 63,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 256.567,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.19351,
    "h": 284.7
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#3F1AA0
secondary
#A5C550
accent
#EF39BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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