#3F1EA0#3F1EA0

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

Color values

HEX#3F1EA0
RGBrgb(63, 30, 160)
HSLhsl(255, 68%, 37%)
HSVhsv(255, 81%, 63%)
CMYKcmyk(60.6%, 81.3%, 0%, 37.3%)
CIE-LABlab(25.33, 48.54, -63.97)
CIE-LCHlch(25.33, 80.30, 307.19°)
OKLaboklab(37.83% 0.0469 -0.1844)
OKLCHoklch(37.83% 0.19 284.3)
XYZxyz(8.8574, 4.5228, 33.6571)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1EA0 #7FA01E
analogous
#1E3EA0 #3F1EA0 #801EA0
triadic
#3F1EA0 #A03F1E #1EA03F
tetradic
#3F1EA0 #A01E3E #7FA01E #1EA080
square
#3F1EA0 #A01E3E #7FA01E #1EA080
split-complementary
#3F1EA0 #A0801E #3EA01E
monochromatic
#160B39 #2B146C #3F1EA0 #5328D4 #7B59E0

Accessibility & contrast

On white

11.03
#3F1EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F1EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1EA0
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1EA0#FFFFFF#000000##FFFFFF
##3F1EA01.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00389E
Tritanopia (blue-blind)
#004560
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f1ea0;
/* rgb */ color: rgb(63, 30, 160);
/* oklch */ color: oklch(37.8% 0.190 284.3);
Tailwind
colors: {
  custom: {
    50: '#815fbd',
    500: '#3f1ea0',
    950: '#000000',
  },
}
SCSS
$custom: #3f1ea0;
$custom-light: #815fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1ea0",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 255.231,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37831,
    "c": 0.19027,
    "h": 284.3
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#3F1EA0
secondary
#A8C456
accent
#EB3DBF
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F1EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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