#35277A#35277A

#35277A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.4% C 0.134 H 284.5°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#35277A
RGBrgb(53, 39, 122)
HSLhsl(250, 52%, 32%)
HSVhsv(250, 68%, 48%)
CMYKcmyk(56.6%, 68%, 0%, 52.2%)
CIE-LABlab(22.35, 30.48, -45.26)
CIE-LCHlch(22.35, 54.57, 303.96°)
OKLaboklab(34.36% 0.0337 -0.13)
OKLCHoklch(34.36% 0.134 284.5)
XYZxyz(5.7055, 3.6127, 18.8053)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35277A #6C7A27
analogous
#27437A #35277A #5F277A
triadic
#35277A #7A3527 #277A35
tetradic
#35277A #7A2743 #6C7A27 #277A5F
square
#35277A #7A2743 #6C7A27 #277A5F
split-complementary
#35277A #7A5F27 #437A27
monochromatic
#0D091D #21184C #35277A #4936A8 #6753C8

Accessibility & contrast

On white

12.19
#35277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#35277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35277A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35277A#FFFFFF#000000##FFFFFF
##35277A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#173C4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #35277a;
/* rgb */ color: rgb(53, 39, 122);
/* oklch */ color: oklch(34.4% 0.134 284.5);
Tailwind
colors: {
  custom: {
    50: '#7462a1',
    500: '#35277a',
    950: '#000000',
  },
}
SCSS
$custom: #35277a;
$custom-light: #7462a1;
$custom-dark: #000000;
JSON
{
  "hex": "#35277a",
  "rgb": {
    "r": 53,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 250.12,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34356,
    "c": 0.13433,
    "h": 284.5
  },
  "luminance": 0.03613
}

Semantic roles & 50–950 ramp

primary
#35277A
secondary
#9DAC51
accent
#DB4DC3
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35277A

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

Preview Lab → · Contrast checker → · Palette generator →

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