#3F1D6E#3F1D6E

#3F1D6E is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.132 H 297.9°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#3F1D6E
RGBrgb(63, 29, 110)
HSLhsl(265, 58%, 27%)
HSVhsv(265, 74%, 43%)
CMYKcmyk(42.7%, 73.6%, 0%, 56.9%)
CIE-LABlab(20.29, 34.65, -40.87)
CIE-LCHlch(20.29, 53.58, 310.29°)
OKLaboklab(32.82% 0.0617 -0.1167)
OKLCHoklch(32.82% 0.132 297.9)
XYZxyz(5.3030, 3.0612, 15.0603)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1D6E #4C6E1D
analogous
#1D246E #3F1D6E #671D6E
triadic
#3F1D6E #6E3F1D #1D6E3F
tetradic
#3F1D6E #6E1D24 #4C6E1D #1D6E67
square
#3F1D6E #6E1D24 #4C6E1D #1D6E67
split-complementary
#3F1D6E #6E671D #246E1D
monochromatic
#0E0618 #23103E #3F1D6E #5B2A9E #773ACB

Accessibility & contrast

On white

13.03
#3F1D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3F1D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1D6E
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1D6E#FFFFFF#000000##FFFFFF
##3F1D6E1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00306C
Tritanopia (blue-blind)
#333143
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3f1d6e;
/* rgb */ color: rgb(63, 29, 110);
/* oklch */ color: oklch(32.8% 0.132 297.9);
Tailwind
colors: {
  custom: {
    50: '#795c98',
    500: '#3f1d6e',
    950: '#000000',
  },
}
SCSS
$custom: #3f1d6e;
$custom-light: #795c98;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1d6e",
  "rgb": {
    "r": 63,
    "g": 29,
    "b": 110
  },
  "hsl": {
    "h": 265.185,
    "s": 58.273,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32816,
    "c": 0.13203,
    "h": 297.9
  },
  "luminance": 0.03061
}

Semantic roles & 50–950 ramp

primary
#3F1D6E
secondary
#7BA244
accent
#E146A0
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F1D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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