#35256C#35256C

#35256C is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.8% C 0.118 H 288.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#35256C
RGBrgb(53, 37, 108)
HSLhsl(254, 49%, 28%)
HSVhsv(254, 66%, 42%)
CMYKcmyk(50.9%, 65.7%, 0%, 57.6%)
CIE-LABlab(20.68, 27.16, -38.98)
CIE-LCHlch(20.68, 47.51, 304.86°)
OKLaboklab(32.78% 0.0374 -0.1116)
OKLCHoklch(32.78% 0.118 288.5)
XYZxyz(4.8358, 3.1625, 14.5401)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35256C #5C6C25
analogous
#25386C #35256C #58256C
triadic
#35256C #6C3525 #256C35
tetradic
#35256C #6C2538 #5C6C25 #256C58
square
#35256C #6C2538 #5C6C25 #256C58
split-complementary
#35256C #6C5825 #386C25
monochromatic
#0B0817 #1F153E #35256C #4B359A #654AC1

Accessibility & contrast

On white

12.86
#35256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#35256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35256C
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35256C#FFFFFF#000000##FFFFFF
##35256C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#00306B
Tritanopia (blue-blind)
#233644
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35256c;
/* rgb */ color: rgb(53, 37, 108);
/* oklch */ color: oklch(32.8% 0.118 288.5);
Tailwind
colors: {
  custom: {
    50: '#726097',
    500: '#35256c',
    950: '#000000',
  },
}
SCSS
$custom: #35256c;
$custom-light: #726097;
$custom-dark: #000000;
JSON
{
  "hex": "#35256c",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 253.521,
    "s": 48.966,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.11767,
    "h": 288.5
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#35256C
secondary
#8D9F4E
accent
#D94FBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35256C

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

Preview Lab → · Contrast checker → · Palette generator →

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