#3F2496#3F2496

#3F2496 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.173 H 285.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3F2496
RGBrgb(63, 36, 150)
HSLhsl(254, 61%, 36%)
HSVhsv(254, 76%, 59%)
CMYKcmyk(58%, 76%, 0%, 41.2%)
CIE-LABlab(25.32, 42.68, -57.86)
CIE-LCHlch(25.32, 71.90, 306.41°)
OKLaboklab(37.52% 0.0458 -0.1666)
OKLCHoklch(37.52% 0.173 285.4)
XYZxyz(8.1841, 4.5200, 29.2894)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2496 #7B9624
analogous
#244296 #3F2496 #782496
triadic
#3F2496 #963F24 #24963F
tetradic
#3F2496 #962442 #7B9624 #249678
square
#3F2496 #962442 #7B9624 #249678
split-complementary
#3F2496 #967824 #429624
monochromatic
#160C33 #2A1865 #3F2496 #5430C7 #7A5CD8

Accessibility & contrast

On white

11.03
#3F2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2496
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2496#FFFFFF#000000##FFFFFF
##3F24961.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2496;
/* rgb */ color: rgb(63, 36, 150);
/* oklch */ color: oklch(37.5% 0.173 285.4);
Tailwind
colors: {
  custom: {
    50: '#7f62b6',
    500: '#3f2496',
    950: '#000000',
  },
}
SCSS
$custom: #3f2496;
$custom-light: #7f62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2496",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 254.211,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37517,
    "c": 0.1728,
    "h": 285.4
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#3F2496
secondary
#A5BD59
accent
#E443BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F2496

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

Preview Lab → · Contrast checker → · Palette generator →

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