#3F2376#3F2376

#3F2376 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.134 H 293.6°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#3F2376
RGBrgb(63, 35, 118)
HSLhsl(260, 54%, 30%)
HSVhsv(260, 70%, 46%)
CMYKcmyk(46.6%, 70.3%, 0%, 53.7%)
CIE-LABlab(22.18, 33.61, -42.93)
CIE-LCHlch(22.18, 54.52, 308.06°)
OKLaboklab(34.39% 0.0537 -0.1228)
OKLCHoklch(34.39% 0.134 293.6)
XYZxyz(5.9201, 3.5667, 17.5125)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2376 #5A7623
analogous
#233176 #3F2376 #682376
triadic
#3F2376 #763F23 #23763F
tetradic
#3F2376 #762331 #5A7623 #237668
square
#3F2376 #762331 #5A7623 #237668
split-complementary
#3F2376 #766823 #317623
monochromatic
#0D0718 #261547 #3F2376 #5831A5 #754AC9

Accessibility & contrast

On white

12.26
#3F2376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3F2376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2376
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2376#FFFFFF#000000##FFFFFF
##3F23761.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003679
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#2F3749
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f2376;
/* rgb */ color: rgb(63, 35, 118);
/* oklch */ color: oklch(34.4% 0.134 293.6);
Tailwind
colors: {
  custom: {
    50: '#79609e',
    500: '#3f2376',
    950: '#000000',
  },
}
SCSS
$custom: #3f2376;
$custom-light: #79609e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2376",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 260.241,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.13403,
    "h": 293.6
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#3F2376
secondary
#8AA94C
accent
#DE4AAC
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #3F2376

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

Preview Lab → · Contrast checker → · Palette generator →

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