#35226E#35226E

#35226E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.125 H 289.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#35226E
RGBrgb(53, 34, 110)
HSLhsl(255, 53%, 28%)
HSVhsv(255, 69%, 43%)
CMYKcmyk(51.8%, 69.1%, 0%, 56.9%)
CIE-LABlab(20.15, 29.69, -41.14)
CIE-LCHlch(20.15, 50.74, 305.81°)
OKLaboklab(32.44% 0.0406 -0.1179)
OKLCHoklch(32.44% 0.125 289)
XYZxyz(4.8539, 3.0265, 15.0773)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35226E #5B6E22
analogous
#22356E #35226E #5B226E
triadic
#35226E #6E3522 #226E35
tetradic
#35226E #6E2235 #5B6E22 #226E5B
square
#35226E #6E2235 #5B6E22 #226E5B
split-complementary
#35226E #6E5B22 #356E22
monochromatic
#0B0717 #1E143F #35226E #4C309D #6545C5

Accessibility & contrast

On white

13.08
#35226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#35226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35226E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35226E#FFFFFF#000000##FFFFFF
##35226E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#213544
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35226e;
/* rgb */ color: rgb(53, 34, 110);
/* oklch */ color: oklch(32.4% 0.125 289.0);
Tailwind
colors: {
  custom: {
    50: '#725e98',
    500: '#35226e',
    950: '#000000',
  },
}
SCSS
$custom: #35226e;
$custom-light: #725e98;
$custom-dark: #000000;
JSON
{
  "hex": "#35226e",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 255,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.12473,
    "h": 289
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#35226E
secondary
#8CA14A
accent
#DC4CB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #35226E

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

Preview Lab → · Contrast checker → · Palette generator →

#35226E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva