#35256A#35256A

#35256A is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.6% C 0.115 H 289.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#35256A
RGBrgb(53, 37, 106)
HSLhsl(254, 48%, 28%)
HSVhsv(254, 65%, 42%)
CMYKcmyk(50%, 65.1%, 0%, 58.4%)
CIE-LABlab(20.52, 26.51, -37.95)
CIE-LCHlch(20.52, 46.29, 304.93°)
OKLaboklab(32.61% 0.0376 -0.1085)
OKLCHoklch(32.61% 0.115 289.1)
XYZxyz(4.7305, 3.1204, 13.9859)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35256A #5A6A25
analogous
#25376A #35256A #57256A
triadic
#35256A #6A3525 #256A35
tetradic
#35256A #6A2537 #5A6A25 #256A57
square
#35256A #6A2537 #5A6A25 #256A57
split-complementary
#35256A #6A5725 #376A25
monochromatic
#0B0817 #1E153D #35256A #4C3597 #654AC0

Accessibility & contrast

On white

12.93
#35256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#35256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35256A
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35256A#FFFFFF#000000##FFFFFF
##35256A1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#003069
Tritanopia (blue-blind)
#243543
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35256a;
/* rgb */ color: rgb(53, 37, 106);
/* oklch */ color: oklch(32.6% 0.115 289.1);
Tailwind
colors: {
  custom: {
    50: '#716095',
    500: '#35256a',
    950: '#000000',
  },
}
SCSS
$custom: #35256a;
$custom-light: #716095;
$custom-dark: #000000;
JSON
{
  "hex": "#35256a",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 253.913,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32605,
    "c": 0.11484,
    "h": 289.1
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#35256A
secondary
#8B9D4E
accent
#D850B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35256A

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

Preview Lab → · Contrast checker → · Palette generator →

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