#351C70#351C70

#351C70 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.135 H 290.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#351C70
RGBrgb(53, 28, 112)
HSLhsl(258, 60%, 27%)
HSVhsv(258, 75%, 44%)
CMYKcmyk(52.7%, 75%, 0%, 56.1%)
CIE-LABlab(19.04, 33.86, -44.24)
CIE-LCHlch(19.04, 55.71, 307.43°)
OKLaboklab(31.71% 0.0465 -0.127)
OKLCHoklch(31.71% 0.135 290.1)
XYZxyz(4.8072, 2.7570, 15.6050)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C70 #57701C
analogous
#1C2D70 #351C70 #5F1C70
triadic
#351C70 #70351C #1C7035
tetradic
#351C70 #701C2D #57701C #1C705F
square
#351C70 #701C2D #57701C #1C705F
split-complementary
#351C70 #705F1C #2D701C
monochromatic
#0C0618 #1E103F #351C70 #4C28A1 #6539CD

Accessibility & contrast

On white

13.54
#351C70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351C70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C70
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C70#FFFFFF#000000##FFFFFF
##351C701.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003072
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#213244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351c70;
/* rgb */ color: rgb(53, 28, 112);
/* oklch */ color: oklch(31.7% 0.135 290.1);
Tailwind
colors: {
  custom: {
    50: '#735b9a',
    500: '#351c70',
    950: '#000000',
  },
}
SCSS
$custom: #351c70;
$custom-light: #735b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#351c70",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 112
  },
  "hsl": {
    "h": 257.857,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31706,
    "c": 0.13525,
    "h": 290.1
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#351C70
secondary
#88A543
accent
#E345B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C70

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

Preview Lab → · Contrast checker → · Palette generator →

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