#35236A#35236A

#35236A is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.118 H 289.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#35236A
RGBrgb(53, 35, 106)
HSLhsl(255, 50%, 28%)
HSVhsv(255, 67%, 42%)
CMYKcmyk(50%, 67%, 0%, 58.4%)
CIE-LABlab(20.04, 27.78, -38.72)
CIE-LCHlch(20.04, 47.66, 305.66°)
OKLaboklab(32.26% 0.04 -0.1108)
OKLCHoklch(32.26% 0.118 289.8)
XYZxyz(4.6700, 2.9994, 13.9657)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35236A #586A23
analogous
#23356A #35236A #58236A
triadic
#35236A #6A3523 #236A35
tetradic
#35236A #6A2335 #586A23 #236A58
square
#35236A #6A2335 #586A23 #236A58
split-complementary
#35236A #6A5823 #356A23
monochromatic
#0C0817 #1E143C #35236A #4C3298 #6546C2

Accessibility & contrast

On white

13.13
#35236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#35236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35236A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35236A#FFFFFF#000000##FFFFFF
##35236A1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#243443
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35236a;
/* rgb */ color: rgb(53, 35, 106);
/* oklch */ color: oklch(32.3% 0.118 289.8);
Tailwind
colors: {
  custom: {
    50: '#715f95',
    500: '#35236a',
    950: '#000000',
  },
}
SCSS
$custom: #35236a;
$custom-light: #715f95;
$custom-dark: #000000;
JSON
{
  "hex": "#35236a",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 255.211,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32257,
    "c": 0.11779,
    "h": 289.8
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#35236A
secondary
#899D4B
accent
#DA4EB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35236A

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

Preview Lab → · Contrast checker → · Palette generator →

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