#35228F#35228F

#35228F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.6% C 0.168 H 281.7°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#35228F
RGBrgb(53, 34, 143)
HSLhsl(250, 62%, 35%)
HSVhsv(250, 76%, 56%)
CMYKcmyk(62.9%, 76.2%, 0%, 43.9%)
CIE-LABlab(23.28, 40.23, -56.92)
CIE-LCHlch(23.28, 69.70, 305.25°)
OKLaboklab(35.64% 0.0339 -0.1642)
OKLCHoklch(35.64% 0.168 281.7)
XYZxyz(6.9966, 3.8836, 26.3622)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35228F #7C8F22
analogous
#22458F #35228F #6C228F
triadic
#35228F #8F3522 #228F35
tetradic
#35228F #8F2245 #7C8F22 #228F6C
square
#35228F #8F2245 #7C8F22 #228F6C
split-complementary
#35228F #8F6C22 #458F22
monochromatic
#100A2C #23165E #35228F #472EC0 #6B55D7

Accessibility & contrast

On white

11.82
#35228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#35228F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35228F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35228F#FFFFFF#000000##FFFFFF
##35228F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35228f;
/* rgb */ color: rgb(53, 34, 143);
/* oklch */ color: oklch(35.6% 0.168 281.7);
Tailwind
colors: {
  custom: {
    50: '#7860b1',
    500: '#35228f',
    950: '#000000',
  },
}
SCSS
$custom: #35228f;
$custom-light: #7860b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35228f",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 250.459,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35635,
    "c": 0.16764,
    "h": 281.7
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35228F

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

Preview Lab → · Contrast checker → · Palette generator →

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