#35276C#35276C

#35276C is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.1% C 0.115 H 287.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#35276C
RGBrgb(53, 39, 108)
HSLhsl(252, 47%, 29%)
HSVhsv(252, 64%, 42%)
CMYKcmyk(50.9%, 63.9%, 0%, 57.6%)
CIE-LABlab(21.17, 25.86, -38.19)
CIE-LCHlch(21.17, 46.12, 304.11°)
OKLaboklab(33.13% 0.035 -0.1092)
OKLCHoklch(33.13% 0.115 287.8)
XYZxyz(4.8997, 3.2904, 14.5614)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35276C #5E6C27
analogous
#273C6C #35276C #58276C
triadic
#35276C #6C3527 #276C35
tetradic
#35276C #6C273C #5E6C27 #276C58
square
#35276C #6C273C #5E6C27 #276C58
split-complementary
#35276C #6C5827 #3C6C27
monochromatic
#0B0816 #1F173F #35276C #4B3799 #654EBF

Accessibility & contrast

On white

12.66
#35276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35276C
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35276C#FFFFFF#000000##FFFFFF
##35276C1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346E
Deuteranopia (green-blind)
#00316B
Tritanopia (blue-blind)
#223745
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35276c;
/* rgb */ color: rgb(53, 39, 108);
/* oklch */ color: oklch(33.1% 0.115 287.8);
Tailwind
colors: {
  custom: {
    50: '#716297',
    500: '#35276c',
    950: '#000000',
  },
}
SCSS
$custom: #35276c;
$custom-light: #716297;
$custom-dark: #000000;
JSON
{
  "hex": "#35276c",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 252.174,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33132,
    "c": 0.11471,
    "h": 287.8
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#35276C
secondary
#8F9F50
accent
#D751BC
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35276C

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

Preview Lab → · Contrast checker → · Palette generator →

#35276C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva