#35276F#35276F

#35276F is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.4% C 0.119 H 287.0°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#35276F
RGBrgb(53, 39, 111)
HSLhsl(252, 48%, 29%)
HSVhsv(252, 65%, 44%)
CMYKcmyk(52.3%, 64.9%, 0%, 56.5%)
CIE-LABlab(21.41, 26.85, -39.73)
CIE-LCHlch(21.41, 47.96, 304.05°)
OKLaboklab(33.39% 0.0348 -0.1138)
OKLCHoklch(33.39% 0.119 287)
XYZxyz(5.0621, 3.3554, 15.4168)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35276F #616F27
analogous
#273D6F #35276F #59276F
triadic
#35276F #6F3527 #276F35
tetradic
#35276F #6F273D #616F27 #276F59
square
#35276F #6F273D #616F27 #276F59
split-complementary
#35276F #6F5927 #3D6F27
monochromatic
#0B0817 #1F1742 #35276F #4B379C #654FC1

Accessibility & contrast

On white

12.57
#35276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#35276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35276F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35276F#FFFFFF#000000##FFFFFF
##35276F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#203847
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35276f;
/* rgb */ color: rgb(53, 39, 111);
/* oklch */ color: oklch(33.4% 0.119 287.0);
Tailwind
colors: {
  custom: {
    50: '#726299',
    500: '#35276f',
    950: '#000000',
  },
}
SCSS
$custom: #35276f;
$custom-light: #726299;
$custom-dark: #000000;
JSON
{
  "hex": "#35276f",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 251.667,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.11899,
    "h": 287
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#35276F
secondary
#92A250
accent
#D850BD
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #35276F

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

Preview Lab → · Contrast checker → · Palette generator →

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