#23135A#23135A

#23135A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.3% C 0.118 H 285.2°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#23135A
RGBrgb(35, 19, 90)
HSLhsl(254, 65%, 21%)
HSVhsv(254, 79%, 35%)
CMYKcmyk(61.1%, 78.9%, 0%, 64.7%)
CIE-LABlab(12.99, 28.92, -39.72)
CIE-LCHlch(12.99, 49.14, 306.06°)
OKLaboklab(26.27% 0.031 -0.1144)
OKLCHoklch(26.27% 0.119 285.2)
XYZxyz(2.7709, 1.5611, 9.8262)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23135A #4A5A13
analogous
#13275A #23135A #47135A
triadic
#23135A #5A2313 #135A23
tetradic
#23135A #5A1327 #4A5A13 #135A47
square
#23135A #5A1327 #4A5A13 #135A47
split-complementary
#23135A #5A4713 #275A13
monochromatic
#0A0519 #0F0827 #23135A #371E8D #4A28BF

Accessibility & contrast

On white

16.00
#23135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#23135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23135A
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23135A#FFFFFF#000000##FFFFFF
##23135A1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#082735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23135a;
/* rgb */ color: rgb(35, 19, 90);
/* oklch */ color: oklch(26.3% 0.118 285.2);
Tailwind
colors: {
  custom: {
    50: '#655289',
    500: '#23135a',
    950: '#000000',
  },
}
SCSS
$custom: #23135a;
$custom-light: #655289;
$custom-dark: #000000;
JSON
{
  "hex": "#23135a",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 253.521,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26269,
    "c": 0.1185,
    "h": 285.2
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#23135A
secondary
#7E9237
accent
#E840C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23135A

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

Preview Lab → · Contrast checker → · Palette generator →

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