#35238C#35238C

#35238C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.163 H 282.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#35238C
RGBrgb(53, 35, 140)
HSLhsl(250, 60%, 34%)
HSVhsv(250, 75%, 55%)
CMYKcmyk(62.1%, 75%, 0%, 45.1%)
CIE-LABlab(23.18, 38.72, -55.23)
CIE-LCHlch(23.18, 67.46, 305.03°)
OKLaboklab(35.47% 0.0339 -0.1592)
OKLCHoklch(35.47% 0.163 282)
XYZxyz(6.8014, 3.8519, 25.1909)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35238C #7A8C23
analogous
#23468C #35238C #6A238C
triadic
#35238C #8C3523 #238C35
tetradic
#35238C #8C2346 #7A8C23 #238C6A
square
#35238C #8C2346 #7A8C23 #238C6A
split-complementary
#35238C #8C6A23 #468C23
monochromatic
#100B2A #22175B #35238C #482FBD #6B55D4

Accessibility & contrast

On white

11.86
#35238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#35238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35238C
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35238C#FFFFFF#000000##FFFFFF
##35238C1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35238c;
/* rgb */ color: rgb(53, 35, 140);
/* oklch */ color: oklch(35.5% 0.163 282.0);
Tailwind
colors: {
  custom: {
    50: '#7860af',
    500: '#35238c',
    950: '#000000',
  },
}
SCSS
$custom: #35238c;
$custom-light: #7860af;
$custom-dark: #000000;
JSON
{
  "hex": "#35238c",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 250.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35468,
    "c": 0.16282,
    "h": 282
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#35238C
secondary
#A7B852
accent
#E345C8
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #35238C

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

Preview Lab → · Contrast checker → · Palette generator →

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