#35228E#35228E

#35228E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.166 H 281.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#35228E
RGBrgb(53, 34, 142)
HSLhsl(251, 61%, 35%)
HSVhsv(251, 76%, 56%)
CMYKcmyk(62.7%, 76.1%, 0%, 44.3%)
CIE-LABlab(23.18, 39.91, -56.47)
CIE-LCHlch(23.18, 69.15, 305.25°)
OKLaboklab(35.53% 0.0342 -0.1628)
OKLCHoklch(35.53% 0.166 281.9)
XYZxyz(6.9212, 3.8534, 25.9650)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35228E #7B8E22
analogous
#22458E #35228E #6B228E
triadic
#35228E #8E3522 #228E35
tetradic
#35228E #8E2245 #7B8E22 #228E6B
square
#35228E #8E2245 #7B8E22 #228E6B
split-complementary
#35228E #8E6B22 #458E22
monochromatic
#100A2B #23165D #35228E #472EBF #6B54D6

Accessibility & contrast

On white

11.86
#35228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#35228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35228E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35228E#FFFFFF#000000##FFFFFF
##35228E1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35228e;
/* rgb */ color: rgb(53, 34, 142);
/* oklch */ color: oklch(35.5% 0.166 281.9);
Tailwind
colors: {
  custom: {
    50: '#7860b0',
    500: '#35228e',
    950: '#000000',
  },
}
SCSS
$custom: #35228e;
$custom-light: #7860b0;
$custom-dark: #000000;
JSON
{
  "hex": "#35228e",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 250.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35533,
    "c": 0.1664,
    "h": 281.9
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#35228E
secondary
#A8BA52
accent
#E443C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35228E

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

Preview Lab → · Contrast checker → · Palette generator →

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