#23145A#23145A

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

Color values

HEX#23145A
RGBrgb(35, 20, 90)
HSLhsl(253, 64%, 22%)
HSVhsv(253, 78%, 35%)
CMYKcmyk(61.1%, 77.8%, 0%, 64.7%)
CIE-LABlab(13.20, 28.33, -39.38)
CIE-LCHlch(13.20, 48.51, 305.73°)
OKLaboklab(26.42% 0.0301 -0.1133)
OKLCHoklch(26.42% 0.117 284.9)
XYZxyz(2.7882, 1.5957, 9.8319)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23145A #4B5A14
analogous
#14285A #23145A #46145A
triadic
#23145A #5A2314 #145A23
tetradic
#23145A #5A1428 #4B5A14 #145A46
square
#23145A #5A1428 #4B5A14 #145A46
split-complementary
#23145A #5A4614 #285A14
monochromatic
#0A0619 #100928 #23145A #361F8C #4A2ABE

Accessibility & contrast

On white

15.92
#23145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#23145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23145A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23145A#FFFFFF#000000##FFFFFF
##23145A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#082735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23145a;
/* rgb */ color: rgb(35, 20, 90);
/* oklch */ color: oklch(26.4% 0.117 284.9);
Tailwind
colors: {
  custom: {
    50: '#655389',
    500: '#23145a',
    950: '#000000',
  },
}
SCSS
$custom: #23145a;
$custom-light: #655389;
$custom-dark: #000000;
JSON
{
  "hex": "#23145a",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 252.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2642,
    "c": 0.11728,
    "h": 284.9
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#23145A
secondary
#7F9238
accent
#E741C3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23145A

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

Preview Lab → · Contrast checker → · Palette generator →

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