#3F2575#3F2575

#3F2575 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.130 H 293.4°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#3F2575
RGBrgb(63, 37, 117)
HSLhsl(260, 52%, 30%)
HSVhsv(260, 68%, 46%)
CMYKcmyk(46.2%, 68.4%, 0%, 54.1%)
CIE-LABlab(22.53, 32.14, -41.73)
CIE-LCHlch(22.53, 52.68, 307.61°)
OKLaboklab(34.61% 0.0516 -0.1193)
OKLCHoklch(34.61% 0.13 293.4)
XYZxyz(5.9215, 3.6641, 17.2214)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2575 #5B7525
analogous
#253375 #3F2575 #672575
triadic
#3F2575 #753F25 #25753F
tetradic
#3F2575 #752533 #5B7525 #257567
square
#3F2575 #752533 #5B7525 #257567
split-complementary
#3F2575 #756725 #337525
monochromatic
#0D0818 #261647 #3F2575 #5834A3 #754EC7

Accessibility & contrast

On white

12.12
#3F2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3F2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2575
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2575#FFFFFF#000000##FFFFFF
##3F25751.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#303849
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2575;
/* rgb */ color: rgb(63, 37, 117);
/* oklch */ color: oklch(34.6% 0.130 293.4);
Tailwind
colors: {
  custom: {
    50: '#79619d',
    500: '#3f2575',
    950: '#000000',
  },
}
SCSS
$custom: #3f2575;
$custom-light: #79619d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2575",
  "rgb": {
    "r": 63,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 259.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.12995,
    "h": 293.4
  },
  "luminance": 0.03664
}

Semantic roles & 50–950 ramp

primary
#3F2575
secondary
#8BA84E
accent
#DB4CAD
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3F2575

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

Preview Lab → · Contrast checker → · Palette generator →

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