#352255#352255

#352255 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.4% C 0.089 H 298.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#352255
RGBrgb(53, 34, 85)
HSLhsl(262, 43%, 23%)
HSVhsv(262, 60%, 33%)
CMYKcmyk(37.6%, 60%, 0%, 66.7%)
CIE-LABlab(18.17, 21.84, -27.85)
CIE-LCHlch(18.17, 35.40, 308.11°)
OKLaboklab(30.38% 0.0421 -0.0789)
OKLCHoklch(30.38% 0.089 298.1)
XYZxyz(3.6795, 2.5568, 8.8922)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352255 #425522
analogous
#222855 #352255 #4E2255
triadic
#352255 #553522 #225535
tetradic
#352255 #552228 #425522 #22554E
square
#352255 #552228 #425522 #22554E
split-complementary
#352255 #554E22 #285522
monochromatic
#0E0916 #1A1129 #352255 #503381 #6C45AC

Accessibility & contrast

On white

13.89
#352255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#352255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352255
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352255#FFFFFF#000000##FFFFFF
##3522551.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C57
Deuteranopia (green-blind)
#122C54
Tritanopia (blue-blind)
#2E2C37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #352255;
/* rgb */ color: rgb(53, 34, 85);
/* oklch */ color: oklch(30.4% 0.089 298.1);
Tailwind
colors: {
  custom: {
    50: '#6f5e85',
    500: '#352255',
    950: '#000000',
  },
}
SCSS
$custom: #352255;
$custom-light: #6f5e85;
$custom-dark: #000000;
JSON
{
  "hex": "#352255",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 262.353,
    "s": 42.857,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30375,
    "c": 0.08938,
    "h": 298.1
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#352255
secondary
#71894A
accent
#D355A4
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352255

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

Preview Lab → · Contrast checker → · Palette generator →

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