#23136A#23136A

#23136A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.139 H 280.9°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#23136A
RGBrgb(35, 19, 106)
HSLhsl(251, 70%, 25%)
HSVhsv(251, 82%, 42%)
CMYKcmyk(67%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.75, 34.21, -47.46)
CIE-LCHlch(14.75, 58.50, 305.79°)
OKLaboklab(28.04% 0.0264 -0.1369)
OKLCHoklch(28.04% 0.139 280.9)
XYZxyz(3.5267, 1.8634, 13.8067)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23136A #5A6A13
analogous
#132F6A #23136A #4E136A
triadic
#23136A #6A2313 #136A23
tetradic
#23136A #6A132F #5A6A13 #136A4E
square
#23136A #6A132F #5A6A13 #136A4E
split-complementary
#23136A #6A4E13 #2F6A13
monochromatic
#09051A #120A36 #23136A #341C9E #4526D2

Accessibility & contrast

On white

15.30
#23136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#23136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23136A
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23136A#FFFFFF#000000##FFFFFF
##23136A1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23136a;
/* rgb */ color: rgb(35, 19, 106);
/* oklch */ color: oklch(28.0% 0.139 280.9);
Tailwind
colors: {
  custom: {
    50: '#695396',
    500: '#23136a',
    950: '#000000',
  },
}
SCSS
$custom: #23136a;
$custom-light: #695396;
$custom-dark: #000000;
JSON
{
  "hex": "#23136a",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 251.034,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28037,
    "c": 0.13947,
    "h": 280.9
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#23136A
secondary
#8EA138
accent
#EC3BCC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23136A

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

Preview Lab → · Contrast checker → · Palette generator →

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