#35225E#35225E

#35225E is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.102 H 294.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#35225E
RGBrgb(53, 34, 94)
HSLhsl(259, 47%, 25%)
HSVhsv(259, 64%, 37%)
CMYKcmyk(43.6%, 63.8%, 0%, 63.1%)
CIE-LABlab(18.84, 24.62, -32.79)
CIE-LCHlch(18.84, 41.00, 306.90°)
OKLaboklab(31.08% 0.042 -0.0934)
OKLCHoklch(31.08% 0.102 294.2)
XYZxyz(4.0601, 2.7090, 10.8965)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35225E #4B5E22
analogous
#222D5E #35225E #53225E
triadic
#35225E #5E3522 #225E35
tetradic
#35225E #5E222D #4B5E22 #225E53
square
#35225E #5E222D #4B5E22 #225E53
split-complementary
#35225E #5E5322 #2D5E22
monochromatic
#0D0816 #1C1231 #35225E #4E328B #6843B8

Accessibility & contrast

On white

13.62
#35225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#35225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35225E
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35225E#FFFFFF#000000##FFFFFF
##35225E1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#2A2F3C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35225e;
/* rgb */ color: rgb(53, 34, 94);
/* oklch */ color: oklch(31.1% 0.102 294.2);
Tailwind
colors: {
  custom: {
    50: '#705e8c',
    500: '#35225e',
    950: '#000000',
  },
}
SCSS
$custom: #35225e;
$custom-light: #705e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#35225e",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 259,
    "s": 46.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.10239,
    "h": 294.2
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#35225E
secondary
#7B924A
accent
#D751AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #35225E

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

Preview Lab → · Contrast checker → · Palette generator →

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