#35255C#35255C

#35255C is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.5% C 0.095 H 293.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#35255C
RGBrgb(53, 37, 92)
HSLhsl(257, 43%, 25%)
HSVhsv(257, 60%, 36%)
CMYKcmyk(42.4%, 59.8%, 0%, 63.9%)
CIE-LABlab(19.44, 22.02, -30.49)
CIE-LCHlch(19.44, 37.61, 305.84°)
OKLaboklab(31.47% 0.0379 -0.0866)
OKLCHoklch(31.47% 0.095 293.7)
XYZxyz(4.0610, 2.8526, 10.4598)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35255C #4C5C25
analogous
#25305C #35255C #51255C
triadic
#35255C #5C3525 #255C35
tetradic
#35255C #5C2530 #4C5C25 #255C51
square
#35255C #5C2530 #4C5C25 #255C51
split-complementary
#35255C #5C5125 #305C25
monochromatic
#0D0916 #1C1330 #35255C #4E3788 #6748B3

Accessibility & contrast

On white

13.37
#35255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#35255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35255C
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35255C#FFFFFF#000000##FFFFFF
##35255C1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#0F2E5B
Tritanopia (blue-blind)
#2B313C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35255c;
/* rgb */ color: rgb(53, 37, 92);
/* oklch */ color: oklch(31.5% 0.095 293.7);
Tailwind
colors: {
  custom: {
    50: '#6f608a',
    500: '#35255c',
    950: '#000000',
  },
}
SCSS
$custom: #35255c;
$custom-light: #6f608a;
$custom-dark: #000000;
JSON
{
  "hex": "#35255c",
  "rgb": {
    "r": 53,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 257.455,
    "s": 42.636,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.09454,
    "h": 293.7
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#35255C
secondary
#7C8F4D
accent
#D255AE
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #35255C

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

Preview Lab → · Contrast checker → · Palette generator →

#35255C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva