#351371#351371

#351371 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.146 H 291.6°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#351371
RGBrgb(53, 19, 113)
HSLhsl(262, 71%, 26%)
HSVhsv(262, 83%, 44%)
CMYKcmyk(53.1%, 83.2%, 0%, 55.7%)
CIE-LABlab(17.53, 38.76, -47.38)
CIE-LCHlch(17.53, 61.21, 309.28°)
OKLaboklab(30.67% 0.054 -0.1361)
OKLCHoklch(30.67% 0.146 291.6)
XYZxyz(4.6809, 2.4147, 15.8390)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351371 #4F7113
analogous
#132071 #351371 #641371
triadic
#351371 #713513 #137135
tetradic
#351371 #711320 #4F7113 #137164
square
#351371 #711320 #4F7113 #137164
split-complementary
#351371 #716413 #207113
monochromatic
#0C041A #1C0A3D #351371 #4E1CA5 #6625DA

Accessibility & contrast

On white

14.16
#351371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351371
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351371#FFFFFF#000000##FFFFFF
##3513711.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#202E42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351371;
/* rgb */ color: rgb(53, 19, 113);
/* oklch */ color: oklch(30.7% 0.146 291.6);
Tailwind
colors: {
  custom: {
    50: '#74569b',
    500: '#351371',
    950: '#000000',
  },
}
SCSS
$custom: #351371;
$custom-light: #74569b;
$custom-dark: #000000;
JSON
{
  "hex": "#351371",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 113
  },
  "hsl": {
    "h": 261.702,
    "s": 71.212,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.14643,
    "h": 291.6
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#351371
secondary
#7FA838
accent
#EE3AAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351371

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

Preview Lab → · Contrast checker → · Palette generator →

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