#23135D#23135D

#23135D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.123 H 284.3°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#23135D
RGBrgb(35, 19, 93)
HSLhsl(253, 66%, 22%)
HSVhsv(253, 80%, 36%)
CMYKcmyk(62.4%, 79.6%, 0%, 63.5%)
CIE-LABlab(13.31, 29.92, -41.22)
CIE-LCHlch(13.31, 50.93, 305.98°)
OKLaboklab(26.59% 0.0302 -0.1187)
OKLCHoklch(26.59% 0.123 284.3)
XYZxyz(2.9012, 1.6132, 10.5123)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23135D #4D5D13
analogous
#13285D #23135D #48135D
triadic
#23135D #5D2313 #135D23
tetradic
#23135D #5D1328 #4D5D13 #135D48
square
#23135D #5D1328 #4D5D13 #135D48
split-complementary
#23135D #5D4813 #285D13
monochromatic
#0A0519 #10092A #23135D #361D90 #4928C3

Accessibility & contrast

On white

15.88
#23135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#23135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23135D
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23135D#FFFFFF#000000##FFFFFF
##23135D1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#032837
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23135d;
/* rgb */ color: rgb(35, 19, 93);
/* oklch */ color: oklch(26.6% 0.123 284.3);
Tailwind
colors: {
  custom: {
    50: '#66538c',
    500: '#23135d',
    950: '#000000',
  },
}
SCSS
$custom: #23135d;
$custom-light: #66538c;
$custom-dark: #000000;
JSON
{
  "hex": "#23135d",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 252.973,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26591,
    "c": 0.12251,
    "h": 284.3
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#23135D
secondary
#819537
accent
#E93FC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23135D

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

Preview Lab → · Contrast checker → · Palette generator →

#23135D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva