#3F1CA0#3F1CA0

#3F1CA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.192 H 284.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3F1CA0
RGBrgb(63, 28, 160)
HSLhsl(256, 70%, 37%)
HSVhsv(256, 83%, 63%)
CMYKcmyk(60.6%, 82.5%, 0%, 37.3%)
CIE-LABlab(25.03, 49.42, -64.47)
CIE-LCHlch(25.03, 81.23, 307.47°)
OKLaboklab(37.62% 0.0481 -0.1858)
OKLCHoklch(37.62% 0.192 284.5)
XYZxyz(8.8084, 4.4248, 33.6408)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CA0 #7DA01C
analogous
#1C3BA0 #3F1CA0 #811CA0
triadic
#3F1CA0 #A03F1C #1CA03F
tetradic
#3F1CA0 #A01C3B #7DA01C #1CA081
square
#3F1CA0 #A01C3B #7DA01C #1CA081
split-complementary
#3F1CA0 #A0811C #3BA01C
monochromatic
#160A38 #2A136C #3F1CA0 #5425D4 #7A55E1

Accessibility & contrast

On white

11.14
#3F1CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1CA0
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CA0#FFFFFF#000000##FFFFFF
##3F1CA01.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f1ca0;
/* rgb */ color: rgb(63, 28, 160);
/* oklch */ color: oklch(37.6% 0.192 284.5);
Tailwind
colors: {
  custom: {
    50: '#815ebd',
    500: '#3f1ca0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ca0;
$custom-light: #815ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ca0",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 255.909,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.19193,
    "h": 284.5
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F1CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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