#35126A#35126A

#35126A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.139 H 294.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#35126A
RGBrgb(53, 18, 106)
HSLhsl(264, 71%, 24%)
HSVhsv(264, 83%, 42%)
CMYKcmyk(50%, 83%, 0%, 58.4%)
CIE-LABlab(16.65, 37.22, -44.26)
CIE-LCHlch(16.65, 57.83, 310.06°)
OKLaboklab(29.85% 0.0572 -0.127)
OKLCHoklch(29.85% 0.139 294.2)
XYZxyz(4.2853, 2.2300, 13.8375)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35126A #476A12
analogous
#121B6A #35126A #61126A
triadic
#35126A #6A3512 #126A35
tetradic
#35126A #6A121B #476A12 #126A61
square
#35126A #6A121B #476A12 #126A61
split-complementary
#35126A #6A6112 #1B6A12
monochromatic
#0D041A #1B0936 #35126A #4F1B9E #6924D3

Accessibility & contrast

On white

14.52
#35126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#35126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35126A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35126A#FFFFFF#000000##FFFFFF
##35126A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#252B3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #35126a;
/* rgb */ color: rgb(53, 18, 106);
/* oklch */ color: oklch(29.8% 0.139 294.2);
Tailwind
colors: {
  custom: {
    50: '#735595',
    500: '#35126a',
    950: '#000000',
  },
}
SCSS
$custom: #35126a;
$custom-light: #735595;
$custom-dark: #000000;
JSON
{
  "hex": "#35126a",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 263.864,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29845,
    "c": 0.13926,
    "h": 294.2
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#35126A
secondary
#77A236
accent
#EE3AA6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #35126A

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

Preview Lab → · Contrast checker → · Palette generator →

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