#3B2575#3B2575

#3B2575 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.130 H 290.5°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#3B2575
RGBrgb(59, 37, 117)
HSLhsl(257, 52%, 30%)
HSVhsv(257, 68%, 46%)
CMYKcmyk(49.6%, 68.4%, 0%, 54.1%)
CIE-LABlab(22.08, 31.30, -42.48)
CIE-LCHlch(22.08, 52.77, 306.38°)
OKLaboklab(34.18% 0.0455 -0.1216)
OKLCHoklch(34.18% 0.13 290.5)
XYZxyz(5.6752, 3.5371, 17.2099)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B2575 #5F7525
analogous
#253775 #3B2575 #632575
triadic
#3B2575 #753B25 #25753B
tetradic
#3B2575 #752537 #5F7525 #257563
square
#3B2575 #752537 #5F7525 #257563
split-complementary
#3B2575 #756325 #377525
monochromatic
#0C0818 #241647 #3B2575 #5234A3 #6F4EC7

Accessibility & contrast

On white

12.30
#3B2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#3B2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B2575
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B2575#FFFFFF#000000##FFFFFF
##3B25751.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#283849
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3b2575;
/* rgb */ color: rgb(59, 37, 117);
/* oklch */ color: oklch(34.2% 0.130 290.5);
Tailwind
colors: {
  custom: {
    50: '#77619d',
    500: '#3b2575',
    950: '#000000',
  },
}
SCSS
$custom: #3b2575;
$custom-light: #77619d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b2575",
  "rgb": {
    "r": 59,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 256.5,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34176,
    "c": 0.12987,
    "h": 290.5
  },
  "luminance": 0.03537
}

Semantic roles & 50–950 ramp

primary
#3B2575
secondary
#8FA84E
accent
#DB4CB4
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #3B2575

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

Preview Lab → · Contrast checker → · Palette generator →

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