#351276#351276

#351276 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.153 H 290.2°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#351276
RGBrgb(53, 18, 118)
HSLhsl(261, 74%, 27%)
HSVhsv(261, 85%, 46%)
CMYKcmyk(55.1%, 84.7%, 0%, 53.7%)
CIE-LABlab(17.91, 40.62, -49.98)
CIE-LCHlch(17.91, 64.41, 309.10°)
OKLaboklab(31.09% 0.0529 -0.1437)
OKLCHoklch(31.09% 0.153 290.2)
XYZxyz(4.9536, 2.4973, 17.3570)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351276 #537612
analogous
#122176 #351276 #671276
triadic
#351276 #763512 #127635
tetradic
#351276 #761221 #537612 #127667
square
#351276 #761221 #537612 #127667
split-complementary
#351276 #766712 #217612
monochromatic
#0C041B #1D0A41 #351276 #4D1AAB #6525DE

Accessibility & contrast

On white

14.00
#351276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351276
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351276#FFFFFF#000000##FFFFFF
##3512761.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#1C3045
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351276;
/* rgb */ color: rgb(53, 18, 118);
/* oklch */ color: oklch(31.1% 0.153 290.2);
Tailwind
colors: {
  custom: {
    50: '#75569f',
    500: '#351276',
    950: '#000000',
  },
}
SCSS
$custom: #351276;
$custom-light: #75569f;
$custom-dark: #000000;
JSON
{
  "hex": "#351276",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 118
  },
  "hsl": {
    "h": 261,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31094,
    "c": 0.15315,
    "h": 290.2
  },
  "luminance": 0.02498
}

Semantic roles & 50–950 ramp

primary
#351276
secondary
#83AD37
accent
#F038B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #351276

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

Preview Lab → · Contrast checker → · Palette generator →

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