#352193#352193

#352193 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.174 H 281.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#352193
RGBrgb(53, 33, 147)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 78%, 58%)
CMYKcmyk(63.9%, 77.6%, 0%, 42.4%)
CIE-LABlab(23.51, 42.02, -59.03)
CIE-LCHlch(23.51, 72.46, 305.44°)
OKLaboklab(35.92% 0.0336 -0.1703)
OKLCHoklch(35.92% 0.174 281.2)
XYZxyz(7.2769, 3.9506, 27.9772)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352193 #7F9321
analogous
#214693 #352193 #6E2193
triadic
#352193 #933521 #219335
tetradic
#352193 #932146 #7F9321 #21936E
square
#352193 #932146 #7F9321 #21936E
split-complementary
#352193 #936E21 #469321
monochromatic
#110B2F #231661 #352193 #472CC5 #6D55D9

Accessibility & contrast

On white

11.73
#352193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#352193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352193
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352193#FFFFFF#000000##FFFFFF
##3521931.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #352193;
/* rgb */ color: rgb(53, 33, 147);
/* oklch */ color: oklch(35.9% 0.174 281.2);
Tailwind
colors: {
  custom: {
    50: '#795fb4',
    500: '#352193',
    950: '#000000',
  },
}
SCSS
$custom: #352193;
$custom-light: #795fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#352193",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 250.526,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35918,
    "c": 0.1736,
    "h": 281.2
  },
  "luminance": 0.03951
}

Semantic roles & 50–950 ramp

primary
#352193
secondary
#AABD53
accent
#E641C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352193

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

Preview Lab → · Contrast checker → · Palette generator →

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