#35236F#35236F

#35236F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.125 H 288.4°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#35236F
RGBrgb(53, 35, 111)
HSLhsl(254, 52%, 29%)
HSVhsv(254, 68%, 44%)
CMYKcmyk(52.3%, 68.5%, 0%, 56.5%)
CIE-LABlab(20.47, 29.39, -41.28)
CIE-LCHlch(20.47, 50.67, 305.45°)
OKLaboklab(32.7% 0.0394 -0.1183)
OKLCHoklch(32.7% 0.125 288.4)
XYZxyz(4.9376, 3.1064, 15.3753)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35236F #5D6F23
analogous
#23376F #35236F #5B236F
triadic
#35236F #6F3523 #236F35
tetradic
#35236F #6F2337 #5D6F23 #236F5B
square
#35236F #6F2337 #5D6F23 #236F5B
split-complementary
#35236F #6F5B23 #376F23
monochromatic
#0B0717 #1F1440 #35236F #4B329E #6547C5

Accessibility & contrast

On white

12.95
#35236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#35236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35236F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35236F#FFFFFF#000000##FFFFFF
##35236F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#213645
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35236f;
/* rgb */ color: rgb(53, 35, 111);
/* oklch */ color: oklch(32.7% 0.125 288.4);
Tailwind
colors: {
  custom: {
    50: '#725f99',
    500: '#35236f',
    950: '#000000',
  },
}
SCSS
$custom: #35236f;
$custom-light: #725f99;
$custom-dark: #000000;
JSON
{
  "hex": "#35236f",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 254.211,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32697,
    "c": 0.1247,
    "h": 288.4
  },
  "luminance": 0.03107
}

Semantic roles & 50–950 ramp

primary
#35236F
secondary
#8EA24C
accent
#DB4CBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #35236F

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

Preview Lab → · Contrast checker → · Palette generator →

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