#351071#351071

#351071 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.149 H 292.1°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#351071
RGBrgb(53, 16, 113)
HSLhsl(263, 75%, 25%)
HSVhsv(263, 86%, 44%)
CMYKcmyk(53.1%, 85.8%, 0%, 55.7%)
CIE-LABlab(17.08, 40.06, -48.11)
CIE-LCHlch(17.08, 62.60, 309.78°)
OKLaboklab(30.36% 0.0561 -0.1382)
OKLCHoklch(30.36% 0.149 292.1)
XYZxyz(4.6333, 2.3195, 15.8232)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351071 #4C7110
analogous
#101B71 #351071 #661071
triadic
#351071 #713510 #107135
tetradic
#351071 #71101B #4C7110 #107166
square
#351071 #71101B #4C7110 #107166
split-complementary
#351071 #716610 #1B7110
monochromatic
#0D041B #1C083B #351071 #4E18A7 #671FDC

Accessibility & contrast

On white

14.34
#351071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351071
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351071#FFFFFF#000000##FFFFFF
##3510711.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#202D42
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351071;
/* rgb */ color: rgb(53, 16, 113);
/* oklch */ color: oklch(30.4% 0.149 292.1);
Tailwind
colors: {
  custom: {
    50: '#74549b',
    500: '#351071',
    950: '#000000',
  },
}
SCSS
$custom: #351071;
$custom-light: #74549b;
$custom-dark: #000000;
JSON
{
  "hex": "#351071",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 262.887,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.1492,
    "h": 292.1
  },
  "luminance": 0.0232
}

Semantic roles & 50–950 ramp

primary
#351071
secondary
#7CA934
accent
#F236AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351071

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

Preview Lab → · Contrast checker → · Palette generator →

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