#351174#351174

#351174 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.152 H 291.0°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#351174
RGBrgb(53, 17, 116)
HSLhsl(262, 74%, 26%)
HSVhsv(262, 85%, 45%)
CMYKcmyk(54.3%, 85.3%, 0%, 54.5%)
CIE-LABlab(17.55, 40.48, -49.29)
CIE-LCHlch(17.55, 63.78, 309.39°)
OKLaboklab(30.78% 0.0543 -0.1417)
OKLCHoklch(30.78% 0.152 291)
XYZxyz(4.8201, 2.4185, 16.7325)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351174 #507411
analogous
#111E74 #351174 #661174
triadic
#351174 #743511 #117435
tetradic
#351174 #74111E #507411 #117466
square
#351174 #74111E #507411 #117466
split-complementary
#351174 #746611 #1E7411
monochromatic
#0C041B #1D093F #351174 #4D19A9 #6621DE

Accessibility & contrast

On white

14.15
#351174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351174
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351174#FFFFFF#000000##FFFFFF
##3511741.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#1E2F44
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351174;
/* rgb */ color: rgb(53, 17, 116);
/* oklch */ color: oklch(30.8% 0.152 291.0);
Tailwind
colors: {
  custom: {
    50: '#75559d',
    500: '#351174',
    950: '#000000',
  },
}
SCSS
$custom: #351174;
$custom-light: #75559d;
$custom-dark: #000000;
JSON
{
  "hex": "#351174",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 261.818,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30781,
    "c": 0.15175,
    "h": 291
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

primary
#351174
secondary
#80AB36
accent
#F137AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351174

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

Preview Lab → · Contrast checker → · Palette generator →

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