#351155#351155

#351155 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.116 H 303.7°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#351155
RGBrgb(53, 17, 85)
HSLhsl(272, 67%, 20%)
HSVhsv(272, 80%, 33%)
CMYKcmyk(37.6%, 80%, 0%, 66.7%)
CIE-LABlab(14.48, 31.88, -33.82)
CIE-LCHlch(14.48, 46.48, 313.31°)
OKLaboklab(27.7% 0.0643 -0.0963)
OKLCHoklch(27.7% 0.116 303.7)
XYZxyz(3.3080, 1.8137, 8.7684)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351155 #315511
analogous
#131155 #351155 #551153
triadic
#351155 #553511 #115535
tetradic
#351155 #551311 #315511 #115355
square
#351155 #551311 #315511 #115355
split-complementary
#351155 #535511 #115513
monochromatic
#10051A #150722 #351155 #551B88 #7525BB

Accessibility & contrast

On white

15.41
#351155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#351155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351155
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351155#FFFFFF#000000##FFFFFF
##3511551.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#2F2232
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351155;
/* rgb */ color: rgb(53, 17, 85);
/* oklch */ color: oklch(27.7% 0.116 303.7);
Tailwind
colors: {
  custom: {
    50: '#705385',
    500: '#351155',
    950: '#000000',
  },
}
SCSS
$custom: #351155;
$custom-light: #705385;
$custom-dark: #000000;
JSON
{
  "hex": "#351155",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 271.765,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.27703,
    "c": 0.11579,
    "h": 303.7
  },
  "luminance": 0.01814
}

Semantic roles & 50–950 ramp

primary
#351155
secondary
#5E8E34
accent
#EA3E8F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351155

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

Preview Lab → · Contrast checker → · Palette generator →

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