#3F2396#3F2396

#3F2396 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.174 H 285.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#3F2396
RGBrgb(63, 35, 150)
HSLhsl(255, 62%, 36%)
HSVhsv(255, 77%, 59%)
CMYKcmyk(58%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.14, 43.20, -58.16)
CIE-LCHlch(25.14, 72.45, 306.60°)
OKLaboklab(37.39% 0.0466 -0.1675)
OKLCHoklch(37.39% 0.174 285.5)
XYZxyz(8.1543, 4.4604, 29.2795)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2396 #7A9623
analogous
#234196 #3F2396 #792396
triadic
#3F2396 #963F23 #23963F
tetradic
#3F2396 #962341 #7A9623 #239679
square
#3F2396 #962341 #7A9623 #239679
split-complementary
#3F2396 #967923 #419623
monochromatic
#150C33 #2A1764 #3F2396 #542FC8 #795BD9

Accessibility & contrast

On white

11.10
#3F2396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3F2396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2396
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2396#FFFFFF#000000##FFFFFF
##3F23961.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#13435B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2396;
/* rgb */ color: rgb(63, 35, 150);
/* oklch */ color: oklch(37.4% 0.174 285.5);
Tailwind
colors: {
  custom: {
    50: '#7f61b6',
    500: '#3f2396',
    950: '#000000',
  },
}
SCSS
$custom: #3f2396;
$custom-light: #7f61b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2396",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 254.609,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.37389,
    "c": 0.17384,
    "h": 285.5
  },
  "luminance": 0.04461
}

Semantic roles & 50–950 ramp

primary
#3F2396
secondary
#A4BD58
accent
#E543BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2396

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

Preview Lab → · Contrast checker → · Palette generator →

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