#3F1CA5#3F1CA5

#3F1CA5 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.2% C 0.198 H 283.6°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#3F1CA5
RGBrgb(63, 28, 165)
HSLhsl(255, 71%, 38%)
HSVhsv(255, 83%, 65%)
CMYKcmyk(61.8%, 83%, 0%, 35.3%)
CIE-LABlab(25.57, 50.83, -66.61)
CIE-LCHlch(25.57, 83.79, 307.35°)
OKLaboklab(38.16% 0.0463 -0.192)
OKLCHoklch(38.16% 0.198 283.6)
XYZxyz(9.2546, 4.6032, 35.9909)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CA5 #82A51C
analogous
#1C3EA5 #3F1CA5 #831CA5
triadic
#3F1CA5 #A53F1C #1CA53F
tetradic
#3F1CA5 #A51C3E #82A51C #1CA583
square
#3F1CA5 #A51C3E #82A51C #1CA583
split-complementary
#3F1CA5 #A5831C #3EA51C
monochromatic
#170A3C #2B1371 #3F1CA5 #5325D9 #7C59E3

Accessibility & contrast

On white

10.93
#3F1CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3F1CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1CA5
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CA5#FFFFFF#000000##FFFFFF
##3F1CA51.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f1ca5;
/* rgb */ color: rgb(63, 28, 165);
/* oklch */ color: oklch(38.2% 0.198 283.6);
Tailwind
colors: {
  custom: {
    50: '#825fc1',
    500: '#3f1ca5',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ca5;
$custom-light: #825fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ca5",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 165
  },
  "hsl": {
    "h": 255.328,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38159,
    "c": 0.19756,
    "h": 283.6
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#3F1CA5
secondary
#AAC656
accent
#EE3AC0
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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