#23145B#23145B

#23145B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.119 H 284.6°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#23145B
RGBrgb(35, 20, 91)
HSLhsl(253, 64%, 22%)
HSVhsv(253, 78%, 36%)
CMYKcmyk(61.5%, 78%, 0%, 64.3%)
CIE-LABlab(13.31, 28.66, -39.88)
CIE-LCHlch(13.31, 49.11, 305.71°)
OKLaboklab(26.53% 0.0299 -0.1148)
OKLCHoklch(26.53% 0.119 284.6)
XYZxyz(2.8310, 1.6128, 10.0576)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23145B #4C5B14
analogous
#14295B #23145B #47145B
triadic
#23145B #5B2314 #145B23
tetradic
#23145B #5B1429 #4C5B14 #145B47
square
#23145B #5B1429 #4C5B14 #145B47
split-complementary
#23145B #5B4714 #295B14
monochromatic
#0A0619 #100929 #23145B #361F8D #4A2ABF

Accessibility & contrast

On white

15.88
#23145B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23145B
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23145B#FFFFFF#000000##FFFFFF
##23145B1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#00205A
Tritanopia (blue-blind)
#062736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23145b;
/* rgb */ color: rgb(35, 20, 91);
/* oklch */ color: oklch(26.5% 0.119 284.6);
Tailwind
colors: {
  custom: {
    50: '#66538a',
    500: '#23145b',
    950: '#000000',
  },
}
SCSS
$custom: #23145b;
$custom-light: #66538a;
$custom-dark: #000000;
JSON
{
  "hex": "#23145b",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 91
  },
  "hsl": {
    "h": 252.676,
    "s": 63.964,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26525,
    "c": 0.11864,
    "h": 284.6
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#23145B
secondary
#809338
accent
#E741C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23145B

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

Preview Lab → · Contrast checker → · Palette generator →

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