#35225A#35225A

#35225A is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.097 H 295.9°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#35225A
RGBrgb(53, 34, 90)
HSLhsl(260, 45%, 24%)
HSVhsv(260, 62%, 35%)
CMYKcmyk(41.1%, 62.2%, 0%, 64.7%)
CIE-LABlab(18.54, 23.37, -30.62)
CIE-LCHlch(18.54, 38.52, 307.36°)
OKLaboklab(30.76% 0.0421 -0.087)
OKLCHoklch(30.76% 0.097 295.9)
XYZxyz(3.8852, 2.6391, 9.9756)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35225A #475A22
analogous
#222B5A #35225A #51225A
triadic
#35225A #5A3522 #225A35
tetradic
#35225A #5A222B #475A22 #225A51
square
#35225A #5A222B #475A22 #225A51
split-complementary
#35225A #5A5122 #2B5A22
monochromatic
#0D0816 #1B112E #35225A #4F3386 #6944B3

Accessibility & contrast

On white

13.75
#35225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#35225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35225A
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35225A#FFFFFF#000000##FFFFFF
##35225A1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042E5C
Deuteranopia (green-blind)
#0C2C59
Tritanopia (blue-blind)
#2C2E3A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #35225a;
/* rgb */ color: rgb(53, 34, 90);
/* oklch */ color: oklch(30.8% 0.097 295.9);
Tailwind
colors: {
  custom: {
    50: '#6f5e89',
    500: '#35225a',
    950: '#000000',
  },
}
SCSS
$custom: #35225a;
$custom-light: #6f5e89;
$custom-dark: #000000;
JSON
{
  "hex": "#35225a",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 260.357,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.09664,
    "h": 295.9
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#35225A
secondary
#778E4A
accent
#D553A9
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040B
muted
#7A797C

Preview Lab

Preview with #35225A

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

Preview Lab → · Contrast checker → · Palette generator →

#35225A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva