#351173#351173

#351173 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.151 H 291.3°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#351173
RGBrgb(53, 17, 115)
HSLhsl(262, 74%, 26%)
HSVhsv(262, 85%, 45%)
CMYKcmyk(53.9%, 85.2%, 0%, 54.9%)
CIE-LABlab(17.44, 40.20, -48.82)
CIE-LCHlch(17.44, 63.24, 309.47°)
OKLaboklab(30.68% 0.0547 -0.1403)
OKLCHoklch(30.68% 0.151 291.3)
XYZxyz(4.7623, 2.3954, 16.4278)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351173 #4F7311
analogous
#111E73 #351173 #661173
triadic
#351173 #733511 #117335
tetradic
#351173 #73111E #4F7311 #117366
square
#351173 #73111E #4F7311 #117366
split-complementary
#351173 #736611 #1E7311
monochromatic
#0C041B #1C093E #351173 #4E19A8 #6621DE

Accessibility & contrast

On white

14.20
#351173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351173
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351173#FFFFFF#000000##FFFFFF
##3511731.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#1F2E43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351173;
/* rgb */ color: rgb(53, 17, 115);
/* oklch */ color: oklch(30.7% 0.151 291.3);
Tailwind
colors: {
  custom: {
    50: '#74559c',
    500: '#351173',
    950: '#000000',
  },
}
SCSS
$custom: #351173;
$custom-light: #74559c;
$custom-dark: #000000;
JSON
{
  "hex": "#351173",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 115
  },
  "hsl": {
    "h": 262.041,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30675,
    "c": 0.1506,
    "h": 291.3
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#351173
secondary
#7FAA36
accent
#F137AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351173

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

Preview Lab → · Contrast checker → · Palette generator →

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