#351973#351973

#351973 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.143 H 289.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#351973
RGBrgb(53, 25, 115)
HSLhsl(259, 64%, 27%)
HSVhsv(259, 78%, 45%)
CMYKcmyk(53.9%, 78.3%, 0%, 54.9%)
CIE-LABlab(18.76, 36.40, -46.65)
CIE-LCHlch(18.76, 59.17, 307.96°)
OKLaboklab(31.59% 0.0485 -0.1341)
OKLCHoklch(31.59% 0.143 289.9)
XYZxyz(4.9094, 2.6897, 16.4768)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351973 #577319
analogous
#192A73 #351973 #621973
triadic
#351973 #733519 #197335
tetradic
#351973 #73192A #577319 #197362
square
#351973 #73192A #577319 #197362
split-complementary
#351973 #736219 #2A7319
monochromatic
#0C0519 #1E0E41 #351973 #4C24A5 #6534D3

Accessibility & contrast

On white

13.65
#351973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351973
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351973#FFFFFF#000000##FFFFFF
##3519731.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#1E3245
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351973;
/* rgb */ color: rgb(53, 25, 115);
/* oklch */ color: oklch(31.6% 0.143 289.9);
Tailwind
colors: {
  custom: {
    50: '#74599c',
    500: '#351973',
    950: '#000000',
  },
}
SCSS
$custom: #351973;
$custom-light: #74599c;
$custom-dark: #000000;
JSON
{
  "hex": "#351973",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 258.667,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31592,
    "c": 0.14255,
    "h": 289.9
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#351973
secondary
#88A840
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351973

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

Preview Lab → · Contrast checker → · Palette generator →

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