#35265F#35265F

#35265F is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.9% C 0.097 H 292.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#35265F
RGBrgb(53, 38, 95)
HSLhsl(256, 43%, 26%)
HSVhsv(256, 60%, 37%)
CMYKcmyk(44.2%, 60%, 0%, 62.7%)
CIE-LABlab(19.92, 22.31, -31.71)
CIE-LCHlch(19.92, 38.77, 305.13°)
OKLaboklab(31.9% 0.0366 -0.0902)
OKLCHoklch(31.9% 0.097 292.1)
XYZxyz(4.2263, 2.9692, 11.1747)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35265F #505F26
analogous
#26335F #35265F #51265F
triadic
#35265F #5F3526 #265F35
tetradic
#35265F #5F2633 #505F26 #265F51
square
#35265F #5F2633 #505F26 #265F51
split-complementary
#35265F #5F5126 #335F26
monochromatic
#0C0916 #1D1533 #35265F #4D378B #6649B6

Accessibility & contrast

On white

13.18
#35265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#35265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35265F
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35265F#FFFFFF#000000##FFFFFF
##35265F1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083161
Deuteranopia (green-blind)
#0C2F5E
Tritanopia (blue-blind)
#2A323E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35265f;
/* rgb */ color: rgb(53, 38, 95);
/* oklch */ color: oklch(31.9% 0.097 292.1);
Tailwind
colors: {
  custom: {
    50: '#6f618d',
    500: '#35265f',
    950: '#000000',
  },
}
SCSS
$custom: #35265f;
$custom-light: #6f618d;
$custom-dark: #000000;
JSON
{
  "hex": "#35265f",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 255.789,
    "s": 42.857,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.09732,
    "h": 292.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#35265F
secondary
#80924F
accent
#D355B2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08050C
muted
#7B797D

Preview Lab

Preview with #35265F

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

Preview Lab → · Contrast checker → · Palette generator →

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