#3B1968#3B1968

#3B1968 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.129 H 298.1°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#3B1968
RGBrgb(59, 25, 104)
HSLhsl(266, 61%, 25%)
HSVhsv(266, 76%, 41%)
CMYKcmyk(43.3%, 76%, 0%, 59.2%)
CIE-LABlab(18.47, 34.27, -39.94)
CIE-LCHlch(18.47, 52.63, 310.63°)
OKLaboklab(31.25% 0.061 -0.1141)
OKLCHoklch(31.25% 0.129 298.1)
XYZxyz(4.6493, 2.6245, 13.3556)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1968 #466819
analogous
#191E68 #3B1968 #621968
triadic
#3B1968 #683B19 #19683B
tetradic
#3B1968 #68191E #466819 #196862
square
#3B1968 #68191E #466819 #196862
split-complementary
#3B1968 #686219 #1E6819
monochromatic
#0E0619 #1F0D37 #3B1968 #572599 #7331CB

Accessibility & contrast

On white

13.77
#3B1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3B1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1968
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1968#FFFFFF#000000##FFFFFF
##3B19681.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#302D3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1968;
/* rgb */ color: rgb(59, 25, 104);
/* oklch */ color: oklch(31.2% 0.129 298.1);
Tailwind
colors: {
  custom: {
    50: '#765994',
    500: '#3b1968',
    950: '#000000',
  },
}
SCSS
$custom: #3b1968;
$custom-light: #765994;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1968",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 265.823,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31245,
    "c": 0.12938,
    "h": 298.1
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#3B1968
secondary
#759E3F
accent
#E4439F
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B1968

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

Preview Lab → · Contrast checker → · Palette generator →

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