#3F1CA7#3F1CA7

#3F1CA7 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.4% C 0.200 H 283.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3F1CA7
RGBrgb(63, 28, 167)
HSLhsl(255, 71%, 38%)
HSVhsv(255, 83%, 65%)
CMYKcmyk(62.3%, 83.2%, 0%, 34.5%)
CIE-LABlab(25.79, 51.39, -67.45)
CIE-LCHlch(25.79, 84.80, 307.30°)
OKLaboklab(38.38% 0.0456 -0.1945)
OKLCHoklch(38.38% 0.2 283.2)
XYZxyz(9.4380, 4.6766, 36.9571)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CA7 #84A71C
analogous
#1C3EA7 #3F1CA7 #841CA7
triadic
#3F1CA7 #A73F1C #1CA73F
tetradic
#3F1CA7 #A71C3E #84A71C #1CA784
square
#3F1CA7 #A71C3E #84A71C #1CA784
split-complementary
#3F1CA7 #A7841C #3EA71C
monochromatic
#170A3E #2B1373 #3F1CA7 #5326DB #7D5AE3

Accessibility & contrast

On white

10.85
#3F1CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F1CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1CA7
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CA7#FFFFFF#000000##FFFFFF
##3F1CA71.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004863
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f1ca7;
/* rgb */ color: rgb(63, 28, 167);
/* oklch */ color: oklch(38.4% 0.200 283.2);
Tailwind
colors: {
  custom: {
    50: '#825fc2',
    500: '#3f1ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ca7;
$custom-light: #825fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ca7",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 167
  },
  "hsl": {
    "h": 255.108,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38375,
    "c": 0.1998,
    "h": 283.2
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#3F1CA7
secondary
#ABC758
accent
#EE3AC1
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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