#23146A#23146A

#23146A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.138 H 280.7°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#23146A
RGBrgb(35, 20, 106)
HSLhsl(250, 68%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(67%, 81.1%, 0%, 58.4%)
CIE-LABlab(14.94, 33.67, -47.14)
CIE-LCHlch(14.94, 57.93, 305.53°)
OKLaboklab(28.17% 0.0258 -0.136)
OKLCHoklch(28.17% 0.138 280.7)
XYZxyz(3.5440, 1.8980, 13.8125)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23146A #5B6A14
analogous
#14306A #23146A #4E146A
triadic
#23146A #6A2314 #146A23
tetradic
#23146A #6A1430 #5B6A14 #146A4E
square
#23146A #6A1430 #5B6A14 #146A4E
split-complementary
#23146A #6A4E14 #306A14
monochromatic
#08051A #120A37 #23146A #341E9D #4527D1

Accessibility & contrast

On white

15.22
#23146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23146A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23146A#FFFFFF#000000##FFFFFF
##23146A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23146a;
/* rgb */ color: rgb(35, 20, 106);
/* oklch */ color: oklch(28.2% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#695496',
    500: '#23146a',
    950: '#000000',
  },
}
SCSS
$custom: #23146a;
$custom-light: #695496;
$custom-dark: #000000;
JSON
{
  "hex": "#23146a",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 250.465,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28169,
    "c": 0.13847,
    "h": 280.7
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#23146A
secondary
#8FA139
accent
#EB3DCD
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #23146A

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

Preview Lab → · Contrast checker → · Palette generator →

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