#23146B#23146B

#23146B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.140 H 280.5°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#23146B
RGBrgb(35, 20, 107)
HSLhsl(250, 69%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(67.3%, 81.3%, 0%, 58%)
CIE-LABlab(15.06, 34.00, -47.61)
CIE-LCHlch(15.06, 58.50, 305.53°)
OKLaboklab(28.28% 0.0255 -0.1374)
OKLCHoklch(28.28% 0.14 280.5)
XYZxyz(3.5963, 1.9189, 14.0879)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23146B #5C6B14
analogous
#14306B #23146B #4F146B
triadic
#23146B #6B2314 #146B23
tetradic
#23146B #6B1430 #5C6B14 #146B4F
square
#23146B #6B1430 #5C6B14 #146B4F
split-complementary
#23146B #6B4F14 #306B14
monochromatic
#08051A #120A37 #23146B #341E9F #4527D2

Accessibility & contrast

On white

15.18
#23146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#23146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23146B
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23146B#FFFFFF#000000##FFFFFF
##23146B1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002269
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23146b;
/* rgb */ color: rgb(35, 20, 107);
/* oklch */ color: oklch(28.3% 0.140 280.5);
Tailwind
colors: {
  custom: {
    50: '#695496',
    500: '#23146b',
    950: '#000000',
  },
}
SCSS
$custom: #23146b;
$custom-light: #695496;
$custom-dark: #000000;
JSON
{
  "hex": "#23146b",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 250.345,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28282,
    "c": 0.13976,
    "h": 280.5
  },
  "luminance": 0.01919
}

Semantic roles & 50–950 ramp

primary
#23146B
secondary
#90A239
accent
#EB3CCD
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23146B

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

Preview Lab → · Contrast checker → · Palette generator →

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