#351472#351472

#351472 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.147 H 291.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#351472
RGBrgb(53, 20, 114)
HSLhsl(261, 70%, 26%)
HSVhsv(261, 82%, 45%)
CMYKcmyk(53.5%, 82.5%, 0%, 55.3%)
CIE-LABlab(17.79, 38.58, -47.59)
CIE-LCHlch(17.79, 61.27, 309.03°)
OKLaboklab(30.89% 0.0529 -0.1368)
OKLCHoklch(30.89% 0.147 291.1)
XYZxyz(4.7547, 2.4719, 16.1429)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351472 #517214
analogous
#142272 #351472 #641472
triadic
#351472 #723514 #147235
tetradic
#351472 #721422 #517214 #147264
square
#351472 #721422 #517214 #147264
split-complementary
#351472 #726414 #227214
monochromatic
#0C051A #1D0B3E #351472 #4D1DA6 #6627D9

Accessibility & contrast

On white

14.05
#351472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351472
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351472#FFFFFF#000000##FFFFFF
##3514721.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#202F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351472;
/* rgb */ color: rgb(53, 20, 114);
/* oklch */ color: oklch(30.9% 0.147 291.1);
Tailwind
colors: {
  custom: {
    50: '#74569b',
    500: '#351472',
    950: '#000000',
  },
}
SCSS
$custom: #351472;
$custom-light: #74569b;
$custom-dark: #000000;
JSON
{
  "hex": "#351472",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 261.064,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30887,
    "c": 0.14662,
    "h": 291.1
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#351472
secondary
#81A839
accent
#ED3BAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351472

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

Preview Lab → · Contrast checker → · Palette generator →

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