#35105F#35105F

#35105F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.129 H 299.1°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#35105F
RGBrgb(53, 16, 95)
HSLhsl(268, 71%, 22%)
HSVhsv(268, 83%, 37%)
CMYKcmyk(44.2%, 83.2%, 0%, 62.7%)
CIE-LABlab(15.24, 35.08, -39.30)
CIE-LCHlch(15.24, 52.67, 311.75°)
OKLaboklab(28.53% 0.0625 -0.1124)
OKLCHoklch(28.53% 0.129 299.1)
XYZxyz(3.7185, 1.9536, 11.0054)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35105F #3A5F10
analogous
#10135F #35105F #5D105F
triadic
#35105F #5F3510 #105F35
tetradic
#35105F #5F1013 #3A5F10 #105F5D
square
#35105F #5F1013 #3A5F10 #105F5D
split-complementary
#35105F #5F5D10 #135F10
monochromatic
#0F041A #18072B #35105F #521993 #6F22C8

Accessibility & contrast

On white

15.10
#35105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#35105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35105F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35105F#FFFFFF#000000##FFFFFF
##35105F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#2B2537
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35105f;
/* rgb */ color: rgb(53, 16, 95);
/* oklch */ color: oklch(28.5% 0.129 299.1);
Tailwind
colors: {
  custom: {
    50: '#71538d',
    500: '#35105f',
    950: '#000000',
  },
}
SCSS
$custom: #35105f;
$custom-light: #71538d;
$custom-dark: #000000;
JSON
{
  "hex": "#35105f",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 268.101,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28528,
    "c": 0.12861,
    "h": 299.1
  },
  "luminance": 0.01954
}

Semantic roles & 50–950 ramp

primary
#35105F
secondary
#699833
accent
#EE3A9A
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35105F

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

Preview Lab → · Contrast checker → · Palette generator →

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