#351474#351474

#351474 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.149 H 290.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#351474
RGBrgb(53, 20, 116)
HSLhsl(261, 71%, 27%)
HSVhsv(261, 83%, 45%)
CMYKcmyk(54.3%, 82.8%, 0%, 54.5%)
CIE-LABlab(18.00, 39.16, -48.54)
CIE-LCHlch(18.00, 62.37, 308.89°)
OKLaboklab(31.1% 0.0522 -0.1395)
OKLCHoklch(31.1% 0.149 290.5)
XYZxyz(4.8698, 2.5179, 16.7490)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351474 #537414
analogous
#142374 #351474 #651474
triadic
#351474 #743514 #147435
tetradic
#351474 #741423 #537414 #147465
square
#351474 #741423 #537414 #147465
split-complementary
#351474 #746514 #237414
monochromatic
#0C051A #1D0B40 #351474 #4D1DA8 #6528DA

Accessibility & contrast

On white

13.97
#351474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351474
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351474#FFFFFF#000000##FFFFFF
##3514741.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#1E3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351474;
/* rgb */ color: rgb(53, 20, 116);
/* oklch */ color: oklch(31.1% 0.149 290.5);
Tailwind
colors: {
  custom: {
    50: '#74569d',
    500: '#351474',
    950: '#000000',
  },
}
SCSS
$custom: #351474;
$custom-light: #74569d;
$custom-dark: #000000;
JSON
{
  "hex": "#351474",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 260.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.14898,
    "h": 290.5
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#351474
secondary
#83AA3A
accent
#ED3AB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351474

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

Preview Lab → · Contrast checker → · Palette generator →

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