#352159#352159

#352159 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.5% C 0.097 H 296.7°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#352159
RGBrgb(53, 33, 89)
HSLhsl(261, 46%, 24%)
HSVhsv(261, 63%, 35%)
CMYKcmyk(40.4%, 62.9%, 0%, 65.1%)
CIE-LABlab(18.21, 23.72, -30.47)
CIE-LCHlch(18.21, 38.61, 307.90°)
OKLaboklab(30.5% 0.0435 -0.0865)
OKLCHoklch(30.5% 0.097 296.7)
XYZxyz(3.8148, 2.5658, 9.7435)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352159 #455921
analogous
#212959 #352159 #512159
triadic
#352159 #593521 #215935
tetradic
#352159 #592129 #455921 #215951
square
#352159 #592129 #455921 #215951
split-complementary
#352159 #595121 #295921
monochromatic
#0D0816 #1A102C #352159 #503286 #6A42B2

Accessibility & contrast

On white

13.88
#352159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352159
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352159#FFFFFF#000000##FFFFFF
##3521591.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032D5B
Deuteranopia (green-blind)
#0B2C58
Tritanopia (blue-blind)
#2C2D39
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #352159;
/* rgb */ color: rgb(53, 33, 89);
/* oklch */ color: oklch(30.5% 0.097 296.7);
Tailwind
colors: {
  custom: {
    50: '#6f5d88',
    500: '#352159',
    950: '#000000',
  },
}
SCSS
$custom: #352159;
$custom-light: #6f5d88;
$custom-dark: #000000;
JSON
{
  "hex": "#352159",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 261.429,
    "s": 45.902,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.09688,
    "h": 296.7
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#352159
secondary
#758D49
accent
#D652A7
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352159

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

Preview Lab → · Contrast checker → · Palette generator →

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