#23155A#23155A

#23155A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.116 H 284.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#23155A
RGBrgb(35, 21, 90)
HSLhsl(252, 62%, 22%)
HSVhsv(252, 77%, 35%)
CMYKcmyk(61.1%, 76.7%, 0%, 64.7%)
CIE-LABlab(13.42, 27.72, -39.02)
CIE-LCHlch(13.42, 47.86, 305.39°)
OKLaboklab(26.57% 0.0292 -0.1123)
OKLCHoklch(26.57% 0.116 284.6)
XYZxyz(2.8062, 1.6317, 9.8380)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23155A #4C5A15
analogous
#152A5A #23155A #46155A
triadic
#23155A #5A2315 #155A23
tetradic
#23155A #5A152A #4C5A15 #155A46
square
#23155A #5A152A #4C5A15 #155A46
split-complementary
#23155A #5A4615 #2A5A15
monochromatic
#0A0619 #100928 #23155A #36218C #4A2CBD

Accessibility & contrast

On white

15.83
#23155A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#23155A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23155A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23155A#FFFFFF#000000##FFFFFF
##23155A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23155a;
/* rgb */ color: rgb(35, 21, 90);
/* oklch */ color: oklch(26.6% 0.116 284.6);
Tailwind
colors: {
  custom: {
    50: '#655489',
    500: '#23155a',
    950: '#000000',
  },
}
SCSS
$custom: #23155a;
$custom-light: #655489;
$custom-dark: #000000;
JSON
{
  "hex": "#23155a",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 90
  },
  "hsl": {
    "h": 252.174,
    "s": 62.162,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26574,
    "c": 0.11605,
    "h": 284.6
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#23155A
secondary
#809239
accent
#E543C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23155A

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

Preview Lab → · Contrast checker → · Palette generator →

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