#351A72#351A72

#351A72 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.140 H 290.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#351A72
RGBrgb(53, 26, 114)
HSLhsl(258, 63%, 27%)
HSVhsv(258, 77%, 45%)
CMYKcmyk(53.5%, 77.2%, 0%, 55.3%)
CIE-LABlab(18.84, 35.57, -45.86)
CIE-LCHlch(18.84, 58.04, 307.79°)
OKLaboklab(31.62% 0.0479 -0.1317)
OKLCHoklch(31.62% 0.14 290)
XYZxyz(4.8740, 2.7104, 16.1827)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A72 #57721A
analogous
#1A2B72 #351A72 #611A72
triadic
#351A72 #72351A #1A7235
tetradic
#351A72 #721A2B #57721A #1A7261
square
#351A72 #721A2B #57721A #1A7261
split-complementary
#351A72 #72611A #2B721A
monochromatic
#0C0619 #1E0F40 #351A72 #4C25A4 #6535D1

Accessibility & contrast

On white

13.62
#351A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#351A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A72
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A72#FFFFFF#000000##FFFFFF
##351A721.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#1F3244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351a72;
/* rgb */ color: rgb(53, 26, 114);
/* oklch */ color: oklch(31.6% 0.140 290.0);
Tailwind
colors: {
  custom: {
    50: '#73599b',
    500: '#351a72',
    950: '#000000',
  },
}
SCSS
$custom: #351a72;
$custom-light: #73599b;
$custom-dark: #000000;
JSON
{
  "hex": "#351a72",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 258.409,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31625,
    "c": 0.14017,
    "h": 290
  },
  "luminance": 0.02711
}

Semantic roles & 50–950 ramp

primary
#351A72
secondary
#88A741
accent
#E642B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A72

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

Preview Lab → · Contrast checker → · Palette generator →

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