#3B1975#3B1975

#3B1975 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.145 H 293.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#3B1975
RGBrgb(59, 25, 117)
HSLhsl(262, 65%, 28%)
HSVhsv(262, 79%, 46%)
CMYKcmyk(49.6%, 78.6%, 0%, 54.1%)
CIE-LABlab(19.68, 37.98, -46.40)
CIE-LCHlch(19.68, 59.96, 309.30°)
OKLaboklab(32.47% 0.0576 -0.1331)
OKLCHoklch(32.47% 0.145 293.4)
XYZxyz(5.3613, 2.9093, 17.1052)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1975 #537519
analogous
#192575 #3B1975 #691975
triadic
#3B1975 #753B19 #19753B
tetradic
#3B1975 #751925 #537519 #197569
square
#3B1975 #751925 #537519 #197569
split-complementary
#3B1975 #756919 #257519
monochromatic
#0D0519 #220E43 #3B1975 #5424A7 #6F35D4

Accessibility & contrast

On white

13.28
#3B1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3B1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1975
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1975#FFFFFF#000000##FFFFFF
##3B19751.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#293246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3b1975;
/* rgb */ color: rgb(59, 25, 117);
/* oklch */ color: oklch(32.5% 0.145 293.4);
Tailwind
colors: {
  custom: {
    50: '#785a9e',
    500: '#3b1975',
    950: '#000000',
  },
}
SCSS
$custom: #3b1975;
$custom-light: #785a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1975",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 262.174,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32466,
    "c": 0.14505,
    "h": 293.4
  },
  "luminance": 0.02909
}

Semantic roles & 50–950 ramp

primary
#3B1975
secondary
#83AA40
accent
#E840AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3B1975

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

Preview Lab → · Contrast checker → · Palette generator →

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