#351154#351154

#351154 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.115 H 304.2°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#351154
RGBrgb(53, 17, 84)
HSLhsl(272, 66%, 20%)
HSVhsv(272, 80%, 33%)
CMYKcmyk(36.9%, 79.8%, 0%, 67.1%)
CIE-LABlab(14.39, 31.61, -33.29)
CIE-LCHlch(14.39, 45.90, 313.52°)
OKLaboklab(27.61% 0.0645 -0.0948)
OKLCHoklch(27.61% 0.115 304.2)
XYZxyz(3.2685, 1.7979, 8.5606)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351154 #305411
analogous
#141154 #351154 #541152
triadic
#351154 #543511 #115435
tetradic
#351154 #541411 #305411 #115254
square
#351154 #541411 #305411 #115254
split-complementary
#351154 #525411 #115414
monochromatic
#100519 #150721 #351154 #551B87 #7526BA

Accessibility & contrast

On white

15.45
#351154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351154
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351154#FFFFFF#000000##FFFFFF
##3511541.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#2F2131
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351154;
/* rgb */ color: rgb(53, 17, 84);
/* oklch */ color: oklch(27.6% 0.115 304.2);
Tailwind
colors: {
  custom: {
    50: '#705385',
    500: '#351154',
    950: '#000000',
  },
}
SCSS
$custom: #351154;
$custom-light: #705385;
$custom-dark: #000000;
JSON
{
  "hex": "#351154",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 272.239,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27613,
    "c": 0.11462,
    "h": 304.2
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#351154
secondary
#5D8D34
accent
#E93F8E
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351154

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

Preview Lab → · Contrast checker → · Palette generator →

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