#352094#352094

#352094 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.176 H 281.1°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#352094
RGBrgb(53, 32, 148)
HSLhsl(251, 64%, 35%)
HSVhsv(251, 78%, 58%)
CMYKcmyk(64.2%, 78.4%, 0%, 42%)
CIE-LABlab(23.43, 42.85, -59.78)
CIE-LCHlch(23.43, 73.55, 305.63°)
OKLaboklab(35.89% 0.034 -0.1725)
OKLCHoklch(35.89% 0.176 281.1)
XYZxyz(7.3283, 3.9275, 28.3831)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352094 #7F9420
analogous
#204594 #352094 #6F2094
triadic
#352094 #943520 #209435
tetradic
#352094 #942045 #7F9420 #20946F
square
#352094 #942045 #7F9420 #20946F
split-complementary
#352094 #946F20 #459420
monochromatic
#110A2F #231562 #352094 #472BC6 #6D54DA

Accessibility & contrast

On white

11.76
#352094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352094
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352094#FFFFFF#000000##FFFFFF
##3520941.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352094;
/* rgb */ color: rgb(53, 32, 148);
/* oklch */ color: oklch(35.9% 0.176 281.1);
Tailwind
colors: {
  custom: {
    50: '#795fb5',
    500: '#352094',
    950: '#000000',
  },
}
SCSS
$custom: #352094;
$custom-light: #795fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#352094",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 250.862,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35895,
    "c": 0.17579,
    "h": 281.1
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#352094
secondary
#AABE52
accent
#E740C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352094

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

Preview Lab → · Contrast checker → · Palette generator →

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