#351A70#351A70

#351A70 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.138 H 290.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#351A70
RGBrgb(53, 26, 112)
HSLhsl(259, 62%, 27%)
HSVhsv(259, 77%, 44%)
CMYKcmyk(52.7%, 76.8%, 0%, 56.1%)
CIE-LABlab(18.65, 34.96, -44.89)
CIE-LCHlch(18.65, 56.90, 307.92°)
OKLaboklab(31.43% 0.0484 -0.1289)
OKLCHoklch(31.43% 0.138 290.6)
XYZxyz(4.7614, 2.6653, 15.5897)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A70 #55701A
analogous
#1A2A70 #351A70 #601A70
triadic
#351A70 #70351A #1A7035
tetradic
#351A70 #701A2A #55701A #1A7060
square
#351A70 #701A2A #55701A #1A7060
split-complementary
#351A70 #70601A #2A701A
monochromatic
#0C0619 #1D0E3E #351A70 #4D26A2 #6534D0

Accessibility & contrast

On white

13.70
#351A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##351A70#FFFFFF#000000##FFFFFF
##351A701.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)
#002F72
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#213143
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351a70;
/* rgb */ color: rgb(53, 26, 112);
/* oklch */ color: oklch(31.4% 0.138 290.6);
Tailwind
colors: {
  custom: {
    50: '#73599a',
    500: '#351a70',
    950: '#000000',
  },
}
SCSS
$custom: #351a70;
$custom-light: #73599a;
$custom-dark: #000000;
JSON
{
  "hex": "#351a70",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 112
  },
  "hsl": {
    "h": 258.837,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31428,
    "c": 0.13767,
    "h": 290.6
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#351A70
secondary
#86A541
accent
#E542B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A70

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

Preview Lab → · Contrast checker → · Palette generator →

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