#351772#351772

#351772 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.144 H 290.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#351772
RGBrgb(53, 23, 114)
HSLhsl(260, 66%, 27%)
HSVhsv(260, 80%, 45%)
CMYKcmyk(53.5%, 79.8%, 0%, 55.3%)
CIE-LABlab(18.30, 37.13, -46.76)
CIE-LCHlch(18.30, 59.71, 308.45°)
OKLaboklab(31.24% 0.0505 -0.1344)
OKLCHoklch(31.24% 0.144 290.6)
XYZxyz(4.8110, 2.5844, 16.1617)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351772 #547217
analogous
#172772 #351772 #631772
triadic
#351772 #723517 #177235
tetradic
#351772 #721727 #547217 #177263
square
#351772 #721727 #547217 #177263
split-complementary
#351772 #726317 #277217
monochromatic
#0C0519 #1D0D3F #351772 #4D21A5 #652ED5

Accessibility & contrast

On white

13.84
#351772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351772
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351772#FFFFFF#000000##FFFFFF
##3517721.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#1F3044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351772;
/* rgb */ color: rgb(53, 23, 114);
/* oklch */ color: oklch(31.2% 0.144 290.6);
Tailwind
colors: {
  custom: {
    50: '#74589b',
    500: '#351772',
    950: '#000000',
  },
}
SCSS
$custom: #351772;
$custom-light: #74589b;
$custom-dark: #000000;
JSON
{
  "hex": "#351772",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 114
  },
  "hsl": {
    "h": 259.78,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31239,
    "c": 0.14353,
    "h": 290.6
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#351772
secondary
#85A83D
accent
#E93EB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351772

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

Preview Lab → · Contrast checker → · Palette generator →

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