#351773#351773

#351773 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.145 H 290.3°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#351773
RGBrgb(53, 23, 115)
HSLhsl(260, 67%, 27%)
HSVhsv(260, 80%, 45%)
CMYKcmyk(53.9%, 80%, 0%, 54.9%)
CIE-LABlab(18.40, 37.42, -47.24)
CIE-LCHlch(18.40, 60.27, 308.38°)
OKLaboklab(31.34% 0.0502 -0.1358)
OKLCHoklch(31.34% 0.145 290.3)
XYZxyz(4.8682, 2.6073, 16.4631)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351773 #557317
analogous
#172773 #351773 #631773
triadic
#351773 #733517 #177335
tetradic
#351773 #731727 #557317 #177363
square
#351773 #731727 #557317 #177363
split-complementary
#351773 #736317 #277317
monochromatic
#0C051A #1D0D40 #351773 #4D21A6 #652FD5

Accessibility & contrast

On white

13.80
#351773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351773
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351773#FFFFFF#000000##FFFFFF
##3517731.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#1F3144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351773;
/* rgb */ color: rgb(53, 23, 115);
/* oklch */ color: oklch(31.3% 0.145 290.3);
Tailwind
colors: {
  custom: {
    50: '#74589c',
    500: '#351773',
    950: '#000000',
  },
}
SCSS
$custom: #351773;
$custom-light: #74589c;
$custom-dark: #000000;
JSON
{
  "hex": "#351773",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 259.565,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31341,
    "c": 0.14474,
    "h": 290.3
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#351773
secondary
#86A93D
accent
#EA3EB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351773

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

Preview Lab → · Contrast checker → · Palette generator →

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