#35226B#35226B

#35226B is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.2% C 0.121 H 289.9°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#35226B
RGBrgb(53, 34, 107)
HSLhsl(256, 52%, 28%)
HSVhsv(256, 68%, 42%)
CMYKcmyk(50.5%, 68.2%, 0%, 58%)
CIE-LABlab(19.89, 28.73, -39.62)
CIE-LCHlch(19.89, 48.94, 305.95°)
OKLaboklab(32.17% 0.041 -0.1134)
OKLCHoklch(32.17% 0.121 289.9)
XYZxyz(4.6933, 2.9623, 14.2316)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35226B #586B22
analogous
#22346B #35226B #59226B
triadic
#35226B #6B3522 #226B35
tetradic
#35226B #6B2234 #586B22 #226B59
square
#35226B #6B2234 #586B22 #226B59
split-complementary
#35226B #6B5922 #346B22
monochromatic
#0C0717 #1E133D #35226B #4C3199 #6544C4

Accessibility & contrast

On white

13.19
#35226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#35226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35226B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35226B#FFFFFF#000000##FFFFFF
##35226B1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#233443
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35226b;
/* rgb */ color: rgb(53, 34, 107);
/* oklch */ color: oklch(32.2% 0.121 289.9);
Tailwind
colors: {
  custom: {
    50: '#725e96',
    500: '#35226b',
    950: '#000000',
  },
}
SCSS
$custom: #35226b;
$custom-light: #725e96;
$custom-dark: #000000;
JSON
{
  "hex": "#35226b",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 255.616,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32175,
    "c": 0.12061,
    "h": 289.9
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#35226B
secondary
#899F4A
accent
#DB4DB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35226B

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

Preview Lab → · Contrast checker → · Palette generator →

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