#23135B#23135B

#23135B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.120 H 284.9°. Best body text is #FFFFFF at 15.96:1 contrast (WCAG AA passes).

Color values

HEX#23135B
RGBrgb(35, 19, 91)
HSLhsl(253, 65%, 22%)
HSVhsv(253, 79%, 36%)
CMYKcmyk(61.5%, 79.1%, 0%, 64.3%)
CIE-LABlab(13.10, 29.26, -40.22)
CIE-LCHlch(13.10, 49.74, 306.03°)
OKLaboklab(26.38% 0.0307 -0.1158)
OKLCHoklch(26.38% 0.12 284.9)
XYZxyz(2.8138, 1.5782, 10.0519)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23135B #4B5B13
analogous
#13275B #23135B #47135B
triadic
#23135B #5B2313 #135B23
tetradic
#23135B #5B1327 #4B5B13 #135B47
square
#23135B #5B1327 #4B5B13 #135B47
split-complementary
#23135B #5B4713 #275B13
monochromatic
#0A0519 #100828 #23135B #361E8E #4A28C0

Accessibility & contrast

On white

15.96
#23135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23135B
15.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23135B#FFFFFF#000000##FFFFFF
##23135B1.0015.961.3215.96
#FFFFFF15.961.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#062736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23135b;
/* rgb */ color: rgb(35, 19, 91);
/* oklch */ color: oklch(26.4% 0.120 284.9);
Tailwind
colors: {
  custom: {
    50: '#66528a',
    500: '#23135b',
    950: '#000000',
  },
}
SCSS
$custom: #23135b;
$custom-light: #66528a;
$custom-dark: #000000;
JSON
{
  "hex": "#23135b",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 253.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26376,
    "c": 0.11984,
    "h": 284.9
  },
  "luminance": 0.01578
}

Semantic roles & 50–950 ramp

primary
#23135B
secondary
#7F9337
accent
#E83FC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23135B

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

Preview Lab → · Contrast checker → · Palette generator →

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