#3F2679#3F2679

#3F2679 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.134 H 291.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#3F2679
RGBrgb(63, 38, 121)
HSLhsl(258, 52%, 31%)
HSVhsv(258, 69%, 47%)
CMYKcmyk(47.9%, 68.6%, 0%, 52.5%)
CIE-LABlab(23.08, 32.76, -43.39)
CIE-LCHlch(23.08, 54.37, 307.05°)
OKLaboklab(35.11% 0.0499 -0.1242)
OKLCHoklch(35.11% 0.134 291.9)
XYZxyz(6.1932, 3.8233, 18.4971)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2679 #607926
analogous
#263679 #3F2679 #682679
triadic
#3F2679 #793F26 #26793F
tetradic
#3F2679 #792636 #607926 #267968
square
#3F2679 #792636 #607926 #267968
split-complementary
#3F2679 #796826 #367926
monochromatic
#0F091C #27174A #3F2679 #5735A8 #7551C8

Accessibility & contrast

On white

11.90
#3F2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2679
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2679#FFFFFF#000000##FFFFFF
##3F26791.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#2D3A4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2679;
/* rgb */ color: rgb(63, 38, 121);
/* oklch */ color: oklch(35.1% 0.134 291.9);
Tailwind
colors: {
  custom: {
    50: '#7a62a0',
    500: '#3f2679',
    950: '#000000',
  },
}
SCSS
$custom: #3f2679;
$custom-light: #7a62a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2679",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 258.072,
    "s": 52.201,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35107,
    "c": 0.13381,
    "h": 291.9
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#3F2679
secondary
#90AB50
accent
#DC4CB0
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050F
muted
#7C797E

Preview Lab

Preview with #3F2679

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

Preview Lab → · Contrast checker → · Palette generator →

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