#35236B#35236B

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

Color values

HEX#35236B
RGBrgb(53, 35, 107)
HSLhsl(255, 51%, 28%)
HSVhsv(255, 67%, 42%)
CMYKcmyk(50.5%, 67.3%, 0%, 58%)
CIE-LABlab(20.13, 28.10, -39.24)
CIE-LCHlch(20.13, 48.26, 305.61°)
OKLaboklab(32.34% 0.0398 -0.1123)
OKLCHoklch(32.34% 0.119 289.5)
XYZxyz(4.7223, 3.0203, 14.2412)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35236B #596B23
analogous
#23356B #35236B #59236B
triadic
#35236B #6B3523 #236B35
tetradic
#35236B #6B2335 #596B23 #236B59
square
#35236B #6B2335 #596B23 #236B59
split-complementary
#35236B #6B5923 #356B23
monochromatic
#0B0817 #1E143D #35236B #4C3299 #6546C2

Accessibility & contrast

On white

13.09
#35236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35236B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35236B#FFFFFF#000000##FFFFFF
##35236B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326D
Deuteranopia (green-blind)
#002F6A
Tritanopia (blue-blind)
#233443
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35236b;
/* rgb */ color: rgb(53, 35, 107);
/* oklch */ color: oklch(32.3% 0.119 289.5);
Tailwind
colors: {
  custom: {
    50: '#725f96',
    500: '#35236b',
    950: '#000000',
  },
}
SCSS
$custom: #35236b;
$custom-light: #725f96;
$custom-dark: #000000;
JSON
{
  "hex": "#35236b",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 255,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.11918,
    "h": 289.5
  },
  "luminance": 0.0302
}

Semantic roles & 50–950 ramp

primary
#35236B
secondary
#8A9E4B
accent
#DA4EB7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35236B

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

Preview Lab → · Contrast checker → · Palette generator →

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