#351570#351570

#351570 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.143 H 291.6°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#351570
RGBrgb(53, 21, 112)
HSLhsl(261, 68%, 26%)
HSVhsv(261, 81%, 44%)
CMYKcmyk(52.7%, 81.2%, 0%, 56.1%)
CIE-LABlab(17.75, 37.53, -46.36)
CIE-LCHlch(17.75, 59.65, 308.99°)
OKLaboklab(30.8% 0.0527 -0.1332)
OKLCHoklch(30.8% 0.143 291.6)
XYZxyz(4.6602, 2.4629, 15.5559)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351570 #507015
analogous
#152270 #351570 #621570
triadic
#351570 #703515 #157035
tetradic
#351570 #701522 #507015 #157062
square
#351570 #701522 #507015 #157062
split-complementary
#351570 #706215 #227015
monochromatic
#0C051A #1D0B3C #351570 #4D1FA4 #6629D7

Accessibility & contrast

On white

14.07
#351570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351570
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351570#FFFFFF#000000##FFFFFF
##3515701.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#212F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351570;
/* rgb */ color: rgb(53, 21, 112);
/* oklch */ color: oklch(30.8% 0.143 291.6);
Tailwind
colors: {
  custom: {
    50: '#74579a',
    500: '#351570',
    950: '#000000',
  },
}
SCSS
$custom: #351570;
$custom-light: #74579a;
$custom-dark: #000000;
JSON
{
  "hex": "#351570",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 261.099,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.14324,
    "h": 291.6
  },
  "luminance": 0.02463
}

Semantic roles & 50–950 ramp

primary
#351570
secondary
#80A63B
accent
#EB3DAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351570

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

Preview Lab → · Contrast checker → · Palette generator →

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