#352168#352168

#352168 is a dark, moderate violet. Relative luminance 0.028; OKLCH L 31.7% C 0.118 H 291.1°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#352168
RGBrgb(53, 33, 104)
HSLhsl(257, 52%, 27%)
HSVhsv(257, 68%, 41%)
CMYKcmyk(49%, 68.3%, 0%, 59.2%)
CIE-LABlab(19.41, 28.40, -38.45)
CIE-LCHlch(19.41, 47.80, 306.45°)
OKLaboklab(31.75% 0.0425 -0.11)
OKLCHoklch(31.75% 0.118 291.1)
XYZxyz(4.5100, 2.8439, 13.4053)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352168 #546821
analogous
#213168 #352168 #592168
triadic
#352168 #683521 #216835
tetradic
#352168 #682131 #546821 #216859
square
#352168 #682131 #546821 #216859
split-complementary
#352168 #685921 #316821
monochromatic
#0C0717 #1D123A #352168 #4D3096 #6541C3

Accessibility & contrast

On white

13.39
#352168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#352168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352168
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352168#FFFFFF#000000##FFFFFF
##3521681.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#253241
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #352168;
/* rgb */ color: rgb(53, 33, 104);
/* oklch */ color: oklch(31.7% 0.118 291.1);
Tailwind
colors: {
  custom: {
    50: '#715d94',
    500: '#352168',
    950: '#000000',
  },
}
SCSS
$custom: #352168;
$custom-light: #715d94;
$custom-dark: #000000;
JSON
{
  "hex": "#352168",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 256.901,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31745,
    "c": 0.11793,
    "h": 291.1
  },
  "luminance": 0.02844
}

Semantic roles & 50–950 ramp

primary
#352168
secondary
#859C49
accent
#DB4DB3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #352168

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

Preview Lab → · Contrast checker → · Palette generator →

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