#351B73#351B73

#351B73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.140 H 289.4°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#351B73
RGBrgb(53, 27, 115)
HSLhsl(258, 62%, 28%)
HSVhsv(258, 77%, 45%)
CMYKcmyk(53.9%, 76.5%, 0%, 54.9%)
CIE-LABlab(19.13, 35.33, -46.04)
CIE-LCHlch(19.13, 58.03, 307.51°)
OKLaboklab(31.86% 0.0467 -0.1323)
OKLCHoklch(31.86% 0.14 289.4)
XYZxyz(4.9537, 2.7783, 16.4916)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B73 #59731B
analogous
#1B2D73 #351B73 #611B73
triadic
#351B73 #73351B #1B7335
tetradic
#351B73 #731B2D #59731B #1B7361
square
#351B73 #731B2D #59731B #1B7361
split-complementary
#351B73 #73611B #2D731B
monochromatic
#0B0619 #1E0F41 #351B73 #4C27A5 #6538D0

Accessibility & contrast

On white

13.50
#351B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B73
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B73#FFFFFF#000000##FFFFFF
##351B731.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#1E3345
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351b73;
/* rgb */ color: rgb(53, 27, 115);
/* oklch */ color: oklch(31.9% 0.140 289.4);
Tailwind
colors: {
  custom: {
    50: '#745a9c',
    500: '#351b73',
    950: '#000000',
  },
}
SCSS
$custom: #351b73;
$custom-light: #745a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#351b73",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 257.727,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31858,
    "c": 0.14026,
    "h": 289.4
  },
  "luminance": 0.02779
}

Semantic roles & 50–950 ramp

primary
#351B73
secondary
#8AA842
accent
#E543B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351B73

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

Preview Lab → · Contrast checker → · Palette generator →

#351B73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva