#351275#351275

#351275 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.152 H 290.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#351275
RGBrgb(53, 18, 117)
HSLhsl(261, 73%, 26%)
HSVhsv(261, 85%, 46%)
CMYKcmyk(54.7%, 84.6%, 0%, 54.1%)
CIE-LABlab(17.80, 40.34, -49.52)
CIE-LCHlch(17.80, 63.87, 309.17°)
OKLaboklab(30.99% 0.0533 -0.1424)
OKLCHoklch(30.99% 0.152 290.5)
XYZxyz(4.8945, 2.4736, 17.0457)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351275 #527512
analogous
#122175 #351275 #671275
triadic
#351275 #753512 #127535
tetradic
#351275 #751221 #527512 #127567
square
#351275 #751221 #527512 #127567
split-complementary
#351275 #756712 #217512
monochromatic
#0C041B #1D0A40 #351275 #4D1AAA #6624DD

Accessibility & contrast

On white

14.05
#351275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351275
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351275#FFFFFF#000000##FFFFFF
##3512751.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#1D3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351275;
/* rgb */ color: rgb(53, 18, 117);
/* oklch */ color: oklch(31.0% 0.152 290.5);
Tailwind
colors: {
  custom: {
    50: '#75569e',
    500: '#351275',
    950: '#000000',
  },
}
SCSS
$custom: #351275;
$custom-light: #75569e;
$custom-dark: #000000;
JSON
{
  "hex": "#351275",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 261.212,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30988,
    "c": 0.15201,
    "h": 290.5
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#351275
secondary
#82AC37
accent
#F038AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351275

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

Preview Lab → · Contrast checker → · Palette generator →

#351275 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva