#35238F#35238F

#35238F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.167 H 281.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#35238F
RGBrgb(53, 35, 143)
HSLhsl(250, 61%, 35%)
HSVhsv(250, 76%, 56%)
CMYKcmyk(62.9%, 75.5%, 0%, 43.9%)
CIE-LABlab(23.48, 39.68, -56.60)
CIE-LCHlch(23.48, 69.13, 305.03°)
OKLaboklab(35.77% 0.0332 -0.1632)
OKLCHoklch(35.77% 0.167 281.5)
XYZxyz(7.0256, 3.9416, 26.3719)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35238F #7D8F23
analogous
#23478F #35238F #6B238F
triadic
#35238F #8F3523 #238F35
tetradic
#35238F #8F2347 #7D8F23 #238F6B
square
#35238F #8F2347 #7D8F23 #238F6B
split-complementary
#35238F #8F6B23 #478F23
monochromatic
#110B2D #23175E #35238F #472FC0 #6C57D6

Accessibility & contrast

On white

11.74
#35238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#35238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35238F
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35238F#FFFFFF#000000##FFFFFF
##35238F1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35238f;
/* rgb */ color: rgb(53, 35, 143);
/* oklch */ color: oklch(35.8% 0.167 281.5);
Tailwind
colors: {
  custom: {
    50: '#7860b1',
    500: '#35238f',
    950: '#000000',
  },
}
SCSS
$custom: #35238f;
$custom-light: #7860b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35238f",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 250,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.1666,
    "h": 281.5
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#35238F
secondary
#A9BA54
accent
#E444C9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35238F

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

Preview Lab → · Contrast checker → · Palette generator →

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