#3F1CA8#3F1CA8

#3F1CA8 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.201 H 283.0°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#3F1CA8
RGBrgb(63, 28, 168)
HSLhsl(255, 71%, 38%)
HSVhsv(255, 83%, 66%)
CMYKcmyk(62.5%, 83.3%, 0%, 34.1%)
CIE-LABlab(25.90, 51.67, -67.88)
CIE-LCHlch(25.90, 85.31, 307.28°)
OKLaboklab(38.48% 0.0453 -0.1957)
OKLCHoklch(38.48% 0.201 283)
XYZxyz(9.5308, 4.7138, 37.4458)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1CA8 #85A81C
analogous
#1C3FA8 #3F1CA8 #851CA8
triadic
#3F1CA8 #A83F1C #1CA83F
tetradic
#3F1CA8 #A81C3F #85A81C #1CA885
square
#3F1CA8 #A81C3F #85A81C #1CA885
split-complementary
#3F1CA8 #A8851C #3FA81C
monochromatic
#180B3F #2B1374 #3F1CA8 #5326DB #7D5BE4

Accessibility & contrast

On white

10.81
#3F1CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1CA8
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1CA8#FFFFFF#000000##FFFFFF
##3F1CA81.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0039A6
Tritanopia (blue-blind)
#004864
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f1ca8;
/* rgb */ color: rgb(63, 28, 168);
/* oklch */ color: oklch(38.5% 0.201 283.0);
Tailwind
colors: {
  custom: {
    50: '#825fc3',
    500: '#3f1ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ca8;
$custom-light: #825fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ca8",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 168
  },
  "hsl": {
    "h": 255,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.20092,
    "h": 283
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F1CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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