#352156#352156

#352156 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.3% C 0.093 H 298.1°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#352156
RGBrgb(53, 33, 86)
HSLhsl(263, 45%, 23%)
HSVhsv(263, 62%, 34%)
CMYKcmyk(38.4%, 61.6%, 0%, 66.3%)
CIE-LABlab(17.99, 22.80, -28.81)
CIE-LCHlch(17.99, 36.75, 308.36°)
OKLaboklab(30.26% 0.0436 -0.0817)
OKLCHoklch(30.26% 0.093 298.1)
XYZxyz(3.6914, 2.5164, 9.0935)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352156 #425621
analogous
#212756 #352156 #4F2156
triadic
#352156 #563521 #215635
tetradic
#352156 #562127 #425621 #21564F
square
#352156 #562127 #425621 #21564F
split-complementary
#352156 #564F21 #275621
monochromatic
#0E0816 #1A102A #352156 #503282 #6C43AE

Accessibility & contrast

On white

13.97
#352156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352156
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352156#FFFFFF#000000##FFFFFF
##3521561.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082C58
Deuteranopia (green-blind)
#0F2B55
Tritanopia (blue-blind)
#2E2C38
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #352156;
/* rgb */ color: rgb(53, 33, 86);
/* oklch */ color: oklch(30.3% 0.093 298.1);
Tailwind
colors: {
  custom: {
    50: '#6f5d86',
    500: '#352156',
    950: '#000000',
  },
}
SCSS
$custom: #352156;
$custom-light: #6f5d86;
$custom-dark: #000000;
JSON
{
  "hex": "#352156",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 262.642,
    "s": 44.538,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30264,
    "c": 0.09256,
    "h": 298.1
  },
  "luminance": 0.02516
}

Semantic roles & 50–950 ramp

primary
#352156
secondary
#718A49
accent
#D454A4
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352156

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

Preview Lab → · Contrast checker → · Palette generator →

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