#351972#351972

#351972 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.141 H 290.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#351972
RGBrgb(53, 25, 114)
HSLhsl(259, 64%, 27%)
HSVhsv(259, 78%, 45%)
CMYKcmyk(53.5%, 78.1%, 0%, 55.3%)
CIE-LABlab(18.66, 36.10, -46.17)
CIE-LCHlch(18.66, 58.61, 308.02°)
OKLaboklab(31.49% 0.0488 -0.1326)
OKLCHoklch(31.49% 0.141 290.2)
XYZxyz(4.8522, 2.6668, 16.1754)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351972 #567219
analogous
#192A72 #351972 #611972
triadic
#351972 #723519 #197235
tetradic
#351972 #72192A #567219 #197261
square
#351972 #72192A #567219 #197261
split-complementary
#351972 #726119 #2A7219
monochromatic
#0C0619 #1E0E40 #351972 #4C24A4 #6533D2

Accessibility & contrast

On white

13.70
#351972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351972
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351972#FFFFFF#000000##FFFFFF
##3519721.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351972;
/* rgb */ color: rgb(53, 25, 114);
/* oklch */ color: oklch(31.5% 0.141 290.2);
Tailwind
colors: {
  custom: {
    50: '#74599b',
    500: '#351972',
    950: '#000000',
  },
}
SCSS
$custom: #351972;
$custom-light: #74599b;
$custom-dark: #000000;
JSON
{
  "hex": "#351972",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 258.876,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31492,
    "c": 0.14132,
    "h": 290.2
  },
  "luminance": 0.02667
}

Semantic roles & 50–950 ramp

primary
#351972
secondary
#87A740
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351972

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

Preview Lab → · Contrast checker → · Palette generator →

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