#352274#352274

#352274 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.133 H 287.4°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#352274
RGBrgb(53, 34, 116)
HSLhsl(254, 55%, 29%)
HSVhsv(254, 71%, 45%)
CMYKcmyk(54.3%, 70.7%, 0%, 54.5%)
CIE-LABlab(20.68, 31.61, -44.15)
CIE-LCHlch(20.68, 54.30, 305.60°)
OKLaboklab(32.99% 0.0397 -0.1267)
OKLCHoklch(32.99% 0.133 287.4)
XYZxyz(5.1917, 3.1616, 16.8563)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352274 #617422
analogous
#223874 #352274 #5E2274
triadic
#352274 #743522 #227435
tetradic
#352274 #742238 #617422 #22745E
square
#352274 #742238 #617422 #22745E
split-complementary
#352274 #745E22 #387422
monochromatic
#0B0718 #1F1445 #352274 #4B30A3 #6547C9

Accessibility & contrast

On white

12.86
#352274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#352274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352274
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352274#FFFFFF#000000##FFFFFF
##3522741.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#1D3748
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352274;
/* rgb */ color: rgb(53, 34, 116);
/* oklch */ color: oklch(33.0% 0.133 287.4);
Tailwind
colors: {
  custom: {
    50: '#735e9d',
    500: '#352274',
    950: '#000000',
  },
}
SCSS
$custom: #352274;
$custom-light: #735e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#352274",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 253.902,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32989,
    "c": 0.13282,
    "h": 287.4
  },
  "luminance": 0.03162
}

Semantic roles & 50–950 ramp

primary
#352274
secondary
#92A74B
accent
#DE4ABC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352274

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

Preview Lab → · Contrast checker → · Palette generator →

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