#3F1CA1#3F1CA1

#3F1CA1 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.193 H 284.3°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3F1CA1
RGBrgb(63, 28, 161)
HSLhsl(256, 70%, 37%)
HSVhsv(256, 83%, 63%)
CMYKcmyk(60.9%, 82.6%, 0%, 36.9%)
CIE-LABlab(25.14, 49.70, -64.90)
CIE-LCHlch(25.14, 81.74, 307.45°)
OKLaboklab(37.73% 0.0477 -0.1871)
OKLCHoklch(37.73% 0.193 284.3)
XYZxyz(8.8962, 4.4599, 34.1034)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CA1 #7EA11C
analogous
#1C3CA1 #3F1CA1 #811CA1
triadic
#3F1CA1 #A13F1C #1CA13F
tetradic
#3F1CA1 #A11C3C #7EA11C #1CA181
square
#3F1CA1 #A11C3C #7EA11C #1CA181
split-complementary
#3F1CA1 #A1811C #3CA11C
monochromatic
#160A39 #2B136D #3F1CA1 #5325D5 #7B56E2

Accessibility & contrast

On white

11.10
#3F1CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3F1CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1CA1
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CA1#FFFFFF#000000##FFFFFF
##3F1CA11.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f1ca1;
/* rgb */ color: rgb(63, 28, 161);
/* oklch */ color: oklch(37.7% 0.193 284.3);
Tailwind
colors: {
  custom: {
    50: '#815ebe',
    500: '#3f1ca1',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ca1;
$custom-light: #815ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ca1",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 255.789,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37729,
    "c": 0.19306,
    "h": 284.3
  },
  "luminance": 0.0446
}

Semantic roles & 50–950 ramp

primary
#3F1CA1
secondary
#A7C554
accent
#ED3BBE
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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