#351876#351876

#351876 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.147 H 289.2°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#351876
RGBrgb(53, 24, 118)
HSLhsl(259, 66%, 28%)
HSVhsv(259, 80%, 46%)
CMYKcmyk(55.1%, 79.7%, 0%, 53.7%)
CIE-LABlab(18.88, 37.81, -48.39)
CIE-LCHlch(18.88, 61.41, 308.01°)
OKLaboklab(31.77% 0.0484 -0.1391)
OKLCHoklch(31.77% 0.147 289.2)
XYZxyz(5.0639, 2.7179, 17.3938)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351876 #597618
analogous
#182A76 #351876 #641876
triadic
#351876 #763518 #187635
tetradic
#351876 #76182A #597618 #187664
square
#351876 #76182A #597618 #187664
split-complementary
#351876 #766418 #2A7618
monochromatic
#0B0519 #1E0E43 #351876 #4C22A9 #6533D5

Accessibility & contrast

On white

13.60
#351876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351876
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351876#FFFFFF#000000##FFFFFF
##3518761.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#1C3246
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351876;
/* rgb */ color: rgb(53, 24, 118);
/* oklch */ color: oklch(31.8% 0.147 289.2);
Tailwind
colors: {
  custom: {
    50: '#74599e',
    500: '#351876',
    950: '#000000',
  },
}
SCSS
$custom: #351876;
$custom-light: #74599e;
$custom-dark: #000000;
JSON
{
  "hex": "#351876",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 258.511,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31769,
    "c": 0.14732,
    "h": 289.2
  },
  "luminance": 0.02718
}

Semantic roles & 50–950 ramp

primary
#351876
secondary
#8AAB3F
accent
#E93FB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351876

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

Preview Lab → · Contrast checker → · Palette generator →

#351876 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva