#35276B#35276B

#35276B is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.0% C 0.113 H 288.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#35276B
RGBrgb(53, 39, 107)
HSLhsl(252, 47%, 29%)
HSVhsv(252, 64%, 42%)
CMYKcmyk(50.5%, 63.6%, 0%, 58%)
CIE-LABlab(21.09, 25.54, -37.67)
CIE-LCHlch(21.09, 45.51, 304.13°)
OKLaboklab(33.05% 0.0351 -0.1077)
OKLCHoklch(33.05% 0.113 288)
XYZxyz(4.8468, 3.2693, 14.2827)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35276B #5D6B27
analogous
#273B6B #35276B #57276B
triadic
#35276B #6B3527 #276B35
tetradic
#35276B #6B273B #5D6B27 #276B57
square
#35276B #6B273B #5D6B27 #276B57
split-complementary
#35276B #6B5727 #3B6B27
monochromatic
#0B0816 #1F173E #35276B #4B3798 #654EBE

Accessibility & contrast

On white

12.70
#35276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#35276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35276B
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35276B#FFFFFF#000000##FFFFFF
##35276B1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346D
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#233745
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35276b;
/* rgb */ color: rgb(53, 39, 107);
/* oklch */ color: oklch(33.0% 0.113 288.0);
Tailwind
colors: {
  custom: {
    50: '#716296',
    500: '#35276b',
    950: '#000000',
  },
}
SCSS
$custom: #35276b;
$custom-light: #716296;
$custom-dark: #000000;
JSON
{
  "hex": "#35276b",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 252.353,
    "s": 46.575,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.11328,
    "h": 288
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#35276B
secondary
#8E9E50
accent
#D652BB
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35276B

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

Preview Lab → · Contrast checker → · Palette generator →

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