#352157#352157

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

Color values

HEX#352157
RGBrgb(53, 33, 87)
HSLhsl(262, 45%, 24%)
HSVhsv(262, 62%, 34%)
CMYKcmyk(39.1%, 62.1%, 0%, 65.9%)
CIE-LABlab(18.07, 23.11, -29.37)
CIE-LCHlch(18.07, 37.37, 308.20°)
OKLaboklab(30.34% 0.0436 -0.0833)
OKLCHoklch(30.34% 0.094 297.6)
XYZxyz(3.7319, 2.5327, 9.3072)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352157 #435721
analogous
#212857 #352157 #502157
triadic
#352157 #573521 #215735
tetradic
#352157 #572128 #435721 #215750
square
#352157 #572128 #435721 #215750
split-complementary
#352157 #575021 #285721
monochromatic
#0E0816 #1A102B #352157 #503283 #6B43B0

Accessibility & contrast

On white

13.94
#352157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352157
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352157#FFFFFF#000000##FFFFFF
##3521571.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062C59
Deuteranopia (green-blind)
#0E2C56
Tritanopia (blue-blind)
#2D2C38
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #352157;
/* rgb */ color: rgb(53, 33, 87);
/* oklch */ color: oklch(30.3% 0.094 297.6);
Tailwind
colors: {
  custom: {
    50: '#6f5d87',
    500: '#352157',
    950: '#000000',
  },
}
SCSS
$custom: #352157;
$custom-light: #6f5d87;
$custom-dark: #000000;
JSON
{
  "hex": "#352157",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 262.222,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30341,
    "c": 0.094,
    "h": 297.6
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#352157
secondary
#738B49
accent
#D553A5
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352157

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

Preview Lab → · Contrast checker → · Palette generator →

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