#352256#352256

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

Color values

HEX#352256
RGBrgb(53, 34, 86)
HSLhsl(262, 43%, 24%)
HSVhsv(262, 60%, 34%)
CMYKcmyk(38.4%, 60.5%, 0%, 66.3%)
CIE-LABlab(18.24, 22.15, -28.41)
CIE-LCHlch(18.24, 36.02, 307.94°)
OKLaboklab(30.45% 0.0421 -0.0805)
OKLCHoklch(30.45% 0.091 297.6)
XYZxyz(3.7195, 2.5728, 9.1029)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352256 #435622
analogous
#222956 #352256 #4F2256
triadic
#352256 #563522 #225635
tetradic
#352256 #562229 #435622 #22564F
square
#352256 #562229 #435622 #22564F
split-complementary
#352256 #564F22 #295622
monochromatic
#0E0916 #1A112A #352256 #503382 #6B45AE

Accessibility & contrast

On white

13.87
#352256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352256
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352256#FFFFFF#000000##FFFFFF
##3522561.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2D58
Deuteranopia (green-blind)
#112C55
Tritanopia (blue-blind)
#2E2D38
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #352256;
/* rgb */ color: rgb(53, 34, 86);
/* oklch */ color: oklch(30.4% 0.091 297.6);
Tailwind
colors: {
  custom: {
    50: '#6f5e86',
    500: '#352256',
    950: '#000000',
  },
}
SCSS
$custom: #352256;
$custom-light: #6f5e86;
$custom-dark: #000000;
JSON
{
  "hex": "#352256",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 261.923,
    "s": 43.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3045,
    "c": 0.09084,
    "h": 297.6
  },
  "luminance": 0.02573
}

Semantic roles & 50–950 ramp

primary
#352256
secondary
#738A4A
accent
#D355A5
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #352256

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

Preview Lab → · Contrast checker → · Palette generator →

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