#3B1965#3B1965

#3B1965 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.126 H 299.3°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#3B1965
RGBrgb(59, 25, 101)
HSLhsl(267, 60%, 25%)
HSVhsv(267, 75%, 40%)
CMYKcmyk(41.6%, 75.2%, 0%, 60.4%)
CIE-LABlab(18.21, 33.43, -38.40)
CIE-LCHlch(18.21, 50.91, 311.04°)
OKLaboklab(30.98% 0.0616 -0.1096)
OKLCHoklch(30.98% 0.126 299.3)
XYZxyz(4.4996, 2.5646, 12.5673)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1965 #436519
analogous
#191D65 #3B1965 #611965
triadic
#3B1965 #653B19 #19653B
tetradic
#3B1965 #65191D #436519 #196561
square
#3B1965 #65191D #436519 #196561
split-complementary
#3B1965 #656119 #1D6519
monochromatic
#0E0619 #1E0D34 #3B1965 #582596 #7431C7

Accessibility & contrast

On white

13.88
#3B1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3B1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1965
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1965#FFFFFF#000000##FFFFFF
##3B19651.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#312C3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3b1965;
/* rgb */ color: rgb(59, 25, 101);
/* oklch */ color: oklch(31.0% 0.126 299.3);
Tailwind
colors: {
  custom: {
    50: '#755992',
    500: '#3b1965',
    950: '#000000',
  },
}
SCSS
$custom: #3b1965;
$custom-light: #755992;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1965",
  "rgb": {
    "r": 59,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 266.842,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30975,
    "c": 0.12572,
    "h": 299.3
  },
  "luminance": 0.02565
}

Semantic roles & 50–950 ramp

primary
#3B1965
secondary
#729B3F
accent
#E3449C
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3B1965

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

Preview Lab → · Contrast checker → · Palette generator →

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