#352154#352154

#352154 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.1% C 0.090 H 299.0°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#352154
RGBrgb(53, 33, 84)
HSLhsl(264, 44%, 23%)
HSVhsv(264, 61%, 33%)
CMYKcmyk(36.9%, 60.7%, 0%, 67.1%)
CIE-LABlab(17.85, 22.20, -27.70)
CIE-LCHlch(17.85, 35.50, 308.71°)
OKLaboklab(30.11% 0.0435 -0.0784)
OKLCHoklch(30.11% 0.09 299)
XYZxyz(3.6119, 2.4847, 8.6751)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352154 #405421
analogous
#212654 #352154 #4E2154
triadic
#352154 #543521 #215435
tetradic
#352154 #542126 #405421 #21544E
square
#352154 #542126 #405421 #21544E
split-complementary
#352154 #544E21 #265421
monochromatic
#0E0916 #191028 #352154 #513280 #6C44AC

Accessibility & contrast

On white

14.03
#352154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352154
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352154#FFFFFF#000000##FFFFFF
##3521541.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C56
Deuteranopia (green-blind)
#122B53
Tritanopia (blue-blind)
#2E2B37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #352154;
/* rgb */ color: rgb(53, 33, 84);
/* oklch */ color: oklch(30.1% 0.090 299.0);
Tailwind
colors: {
  custom: {
    50: '#6f5d84',
    500: '#352154',
    950: '#000000',
  },
}
SCSS
$custom: #352154;
$custom-light: #6f5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#352154",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 263.529,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30113,
    "c": 0.08967,
    "h": 299
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#352154
secondary
#6F8849
accent
#D354A2
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352154

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

Preview Lab → · Contrast checker → · Palette generator →

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