#351976#351976

#351976 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.146 H 289.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#351976
RGBrgb(53, 25, 118)
HSLhsl(258, 65%, 28%)
HSVhsv(258, 79%, 46%)
CMYKcmyk(55.1%, 78.8%, 0%, 53.7%)
CIE-LABlab(19.06, 37.30, -48.09)
CIE-LCHlch(19.06, 60.86, 307.80°)
OKLaboklab(31.89% 0.0476 -0.1383)
OKLCHoklch(31.89% 0.146 289)
XYZxyz(5.0849, 2.7599, 17.4008)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351976 #5A7619
analogous
#192B76 #351976 #631976
triadic
#351976 #763519 #197635
tetradic
#351976 #76192B #5A7619 #197663
square
#351976 #76192B #5A7619 #197663
split-complementary
#351976 #766319 #2B7619
monochromatic
#0B0519 #1E0E43 #351976 #4C24A8 #6535D4

Accessibility & contrast

On white

13.53
#351976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351976
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351976#FFFFFF#000000##FFFFFF
##3519761.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351976;
/* rgb */ color: rgb(53, 25, 118);
/* oklch */ color: oklch(31.9% 0.146 289.0);
Tailwind
colors: {
  custom: {
    50: '#74599e',
    500: '#351976',
    950: '#000000',
  },
}
SCSS
$custom: #351976;
$custom-light: #74599e;
$custom-dark: #000000;
JSON
{
  "hex": "#351976",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 258.065,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31894,
    "c": 0.14624,
    "h": 289
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#351976
secondary
#8BAB40
accent
#E840B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351976

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

Preview Lab → · Contrast checker → · Palette generator →

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