#3F2573#3F2573

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

Color values

HEX#3F2573
RGBrgb(63, 37, 115)
HSLhsl(260, 51%, 30%)
HSVhsv(260, 68%, 45%)
CMYKcmyk(45.2%, 67.8%, 0%, 54.9%)
CIE-LABlab(22.36, 31.54, -40.72)
CIE-LCHlch(22.36, 51.51, 307.77°)
OKLaboklab(34.44% 0.0518 -0.1163)
OKLCHoklch(34.44% 0.127 294)
XYZxyz(5.8051, 3.6175, 16.6087)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2573 #597325
analogous
#253273 #3F2573 #662573
triadic
#3F2573 #733F25 #25733F
tetradic
#3F2573 #732532 #597325 #257366
square
#3F2573 #732532 #597325 #257366
split-complementary
#3F2573 #736625 #327325
monochromatic
#0D0717 #261645 #3F2573 #5834A1 #754DC6

Accessibility & contrast

On white

12.18
#3F2573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3F2573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2573
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2573#FFFFFF#000000##FFFFFF
##3F25731.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#313748
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3f2573;
/* rgb */ color: rgb(63, 37, 115);
/* oklch */ color: oklch(34.4% 0.127 294.0);
Tailwind
colors: {
  custom: {
    50: '#79619c',
    500: '#3f2573',
    950: '#000000',
  },
}
SCSS
$custom: #3f2573;
$custom-light: #79619c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2573",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 260,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34437,
    "c": 0.12732,
    "h": 294
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#3F2573
secondary
#88A64E
accent
#DB4DAC
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3F2573

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

Preview Lab → · Contrast checker → · Palette generator →

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