#35246B#35246B

#35246B is a dark, moderate violet. Relative luminance 0.031; OKLCH L 32.5% C 0.118 H 289.2°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#35246B
RGBrgb(53, 36, 107)
HSLhsl(254, 50%, 28%)
HSVhsv(254, 66%, 42%)
CMYKcmyk(50.5%, 66.4%, 0%, 58%)
CIE-LABlab(20.36, 27.47, -38.85)
CIE-LCHlch(20.36, 47.58, 305.26°)
OKLaboklab(32.52% 0.0387 -0.1112)
OKLCHoklch(32.52% 0.118 289.2)
XYZxyz(4.7522, 3.0800, 14.2512)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35246B #5A6B24
analogous
#24366B #35246B #58246B
triadic
#35246B #6B3524 #246B35
tetradic
#35246B #6B2436 #5A6B24 #246B58
square
#35246B #6B2436 #5A6B24 #246B58
split-complementary
#35246B #6B5824 #366B24
monochromatic
#0B0817 #1E153D #35246B #4C3399 #6548C1

Accessibility & contrast

On white

13.00
#35246B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#35246B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35246B
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35246B#FFFFFF#000000##FFFFFF
##35246B1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35246b;
/* rgb */ color: rgb(53, 36, 107);
/* oklch */ color: oklch(32.5% 0.118 289.2);
Tailwind
colors: {
  custom: {
    50: '#715f96',
    500: '#35246b',
    950: '#000000',
  },
}
SCSS
$custom: #35246b;
$custom-light: #715f96;
$custom-dark: #000000;
JSON
{
  "hex": "#35246b",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 107
  },
  "hsl": {
    "h": 254.366,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32516,
    "c": 0.11773,
    "h": 289.2
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#35246B
secondary
#8B9E4D
accent
#D94FB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #35246B

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

Preview Lab → · Contrast checker → · Palette generator →

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