#3F296F#3F296F

#3F296F is a dark, moderate violet. Relative luminance 0.038; OKLCH L 34.8% C 0.116 H 294.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3F296F
RGBrgb(63, 41, 111)
HSLhsl(259, 46%, 30%)
HSVhsv(259, 63%, 44%)
CMYKcmyk(43.2%, 63.1%, 0%, 56.5%)
CIE-LABlab(22.97, 27.89, -37.17)
CIE-LCHlch(22.97, 46.47, 306.88°)
OKLaboklab(34.77% 0.0472 -0.1059)
OKLCHoklch(34.77% 0.116 294)
XYZxyz(5.7113, 3.7902, 15.4665)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F296F #596F29
analogous
#29366F #3F296F #62296F
triadic
#3F296F #6F3F29 #296F3F
tetradic
#3F296F #6F2936 #596F29 #296F62
square
#3F296F #6F2936 #596F29 #296F62
split-complementary
#3F296F #6F6229 #366F29
monochromatic
#0D0816 #261842 #3F296F #583A9C #7553BF

Accessibility & contrast

On white

11.95
#3F296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F296F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F296F#FFFFFF#000000##FFFFFF
##3F296F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#04366D
Tritanopia (blue-blind)
#323847
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f296f;
/* rgb */ color: rgb(63, 41, 111);
/* oklch */ color: oklch(34.8% 0.116 294.0);
Tailwind
colors: {
  custom: {
    50: '#786499',
    500: '#3f296f',
    950: '#000000',
  },
}
SCSS
$custom: #3f296f;
$custom-light: #786499;
$custom-dark: #000000;
JSON
{
  "hex": "#3f296f",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 258.857,
    "s": 46.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34774,
    "c": 0.11593,
    "h": 294
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#3F296F
secondary
#88A153
accent
#D652AC
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3F296F

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

Preview Lab → · Contrast checker → · Palette generator →

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