#3F1EB2#3F1EB2

#3F1EB2 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.8% C 0.211 H 281.2°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3F1EB2
RGBrgb(63, 30, 178)
HSLhsl(253, 71%, 41%)
HSVhsv(253, 83%, 70%)
CMYKcmyk(64.6%, 83.1%, 0%, 30.2%)
CIE-LABlab(27.29, 53.66, -71.59)
CIE-LCHlch(27.29, 89.47, 306.86°)
OKLaboklab(39.77% 0.0409 -0.2066)
OKLCHoklch(39.77% 0.211 281.2)
XYZxyz(10.5475, 5.1988, 42.5585)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1EB2 #91B21E
analogous
#1E47B2 #3F1EB2 #891EB2
triadic
#3F1EB2 #B23F1E #1EB23F
tetradic
#3F1EB2 #B21E47 #91B21E #1EB289
square
#3F1EB2 #B21E47 #91B21E #1EB289
split-complementary
#3F1EB2 #B2891E #47B21E
monochromatic
#1A0C49 #2C157E #3F1EB2 #5731DC #8265E5

Accessibility & contrast

On white

10.29
#3F1EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F1EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1EB2
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1EB2#FFFFFF#000000##FFFFFF
##3F1EB21.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B6
Deuteranopia (green-blind)
#003BAF
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f1eb2;
/* rgb */ color: rgb(63, 30, 178);
/* oklch */ color: oklch(39.8% 0.211 281.2);
Tailwind
colors: {
  custom: {
    50: '#8461ca',
    500: '#3f1eb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f1eb2;
$custom-light: #8461ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1eb2",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 178
  },
  "hsl": {
    "h": 253.378,
    "s": 71.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39765,
    "c": 0.21058,
    "h": 281.2
  },
  "luminance": 0.052
}

Semantic roles & 50–950 ramp

primary
#3F1EB2
secondary
#B3CA62
accent
#EE3AC6
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F1EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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