#35136F#35136F

#35136F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.144 H 292.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#35136F
RGBrgb(53, 19, 111)
HSLhsl(262, 71%, 25%)
HSVhsv(262, 83%, 44%)
CMYKcmyk(52.3%, 82.9%, 0%, 56.5%)
CIE-LABlab(17.32, 38.18, -46.42)
CIE-LCHlch(17.32, 60.11, 309.44°)
OKLaboklab(30.47% 0.0547 -0.1333)
OKLCHoklch(30.47% 0.144 292.3)
XYZxyz(4.5695, 2.3702, 15.2526)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35136F #4D6F13
analogous
#131F6F #35136F #63136F
triadic
#35136F #6F3513 #136F35
tetradic
#35136F #6F131F #4D6F13 #136F63
square
#35136F #6F131F #4D6F13 #136F63
split-complementary
#35136F #6F6313 #1F6F13
monochromatic
#0C041A #1C0A3B #35136F #4E1CA3 #6725D8

Accessibility & contrast

On white

14.25
#35136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#35136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35136F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35136F#FFFFFF#000000##FFFFFF
##35136F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#222D41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35136f;
/* rgb */ color: rgb(53, 19, 111);
/* oklch */ color: oklch(30.5% 0.144 292.3);
Tailwind
colors: {
  custom: {
    50: '#745699',
    500: '#35136f',
    950: '#000000',
  },
}
SCSS
$custom: #35136f;
$custom-light: #745699;
$custom-dark: #000000;
JSON
{
  "hex": "#35136f",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 262.174,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30466,
    "c": 0.14409,
    "h": 292.3
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#35136F
secondary
#7DA638
accent
#EE3AAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35136F

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

Preview Lab → · Contrast checker → · Palette generator →

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