#351151#351151

#351151 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.111 H 305.9°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#351151
RGBrgb(53, 17, 81)
HSLhsl(274, 65%, 19%)
HSVhsv(274, 79%, 32%)
CMYKcmyk(34.6%, 79%, 0%, 68.2%)
CIE-LABlab(14.13, 30.81, -31.67)
CIE-LCHlch(14.13, 44.18, 314.21°)
OKLaboklab(27.35% 0.0651 -0.09)
OKLCHoklch(27.35% 0.111 305.9)
XYZxyz(3.1535, 1.7519, 7.9550)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351151 #2D5111
analogous
#151151 #351151 #51114D
triadic
#351151 #513511 #115135
tetradic
#351151 #511511 #2D5111 #114D51
square
#351151 #511511 #2D5111 #114D51
split-complementary
#351151 #4D5111 #115115
monochromatic
#110519 #14061E #351151 #561C84 #7726B6

Accessibility & contrast

On white

15.55
#351151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#351151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351151
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351151#FFFFFF#000000##FFFFFF
##3511511.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002353
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#302030
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351151;
/* rgb */ color: rgb(53, 17, 81);
/* oklch */ color: oklch(27.3% 0.111 305.9);
Tailwind
colors: {
  custom: {
    50: '#705382',
    500: '#351151',
    950: '#000000',
  },
}
SCSS
$custom: #351151;
$custom-light: #705382;
$custom-dark: #000000;
JSON
{
  "hex": "#351151",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 81
  },
  "hsl": {
    "h": 273.75,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27346,
    "c": 0.11108,
    "h": 305.9
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#351151
secondary
#598A34
accent
#E84089
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #351151

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

Preview Lab → · Contrast checker → · Palette generator →

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