#23146C#23146C

#23146C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.141 H 280.3°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#23146C
RGBrgb(35, 20, 108)
HSLhsl(250, 69%, 25%)
HSVhsv(250, 81%, 42%)
CMYKcmyk(67.6%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.17, 34.33, -48.08)
CIE-LCHlch(15.17, 59.07, 305.52°)
OKLaboklab(28.4% 0.0252 -0.1388)
OKLCHoklch(28.4% 0.141 280.3)
XYZxyz(3.6492, 1.9401, 14.3666)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23146C #5D6C14
analogous
#14316C #23146C #4F146C
triadic
#23146C #6C2314 #146C23
tetradic
#23146C #6C1431 #5D6C14 #146C4F
square
#23146C #6C1431 #5D6C14 #146C4F
split-complementary
#23146C #6C4F14 #316C14
monochromatic
#08051A #120A38 #23146C #341EA0 #4427D3

Accessibility & contrast

On white

15.13
#23146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#23146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23146C
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23146C#FFFFFF#000000##FFFFFF
##23146C1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23146c;
/* rgb */ color: rgb(35, 20, 108);
/* oklch */ color: oklch(28.4% 0.141 280.3);
Tailwind
colors: {
  custom: {
    50: '#695497',
    500: '#23146c',
    950: '#000000',
  },
}
SCSS
$custom: #23146c;
$custom-light: #695497;
$custom-dark: #000000;
JSON
{
  "hex": "#23146c",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 250.227,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28395,
    "c": 0.14104,
    "h": 280.3
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#23146C
secondary
#91A339
accent
#EC3CCE
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23146C

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

Preview Lab → · Contrast checker → · Palette generator →

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