#23185A#23185A

#23185A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.112 H 283.6°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#23185A
RGBrgb(35, 24, 90)
HSLhsl(250, 58%, 22%)
HSVhsv(250, 73%, 35%)
CMYKcmyk(61.1%, 73.3%, 0%, 64.7%)
CIE-LABlab(14.11, 25.82, -37.89)
CIE-LCHlch(14.11, 45.86, 304.28°)
OKLaboklab(27.07% 0.0263 -0.109)
OKLCHoklch(27.07% 0.112 283.6)
XYZxyz(2.8647, 1.7486, 9.8574)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23185A #4F5A18
analogous
#182E5A #23185A #44185A
triadic
#23185A #5A2318 #185A23
tetradic
#23185A #5A182E #4F5A18 #185A44
square
#23185A #5A182E #4F5A18 #185A44
split-complementary
#23185A #5A4418 #2E5A18
monochromatic
#090618 #100B2A #23185A #36258A #4932BB

Accessibility & contrast

On white

15.56
#23185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#23185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23185A
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23185A#FFFFFF#000000##FFFFFF
##23185A1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#072936
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #23185a;
/* rgb */ color: rgb(35, 24, 90);
/* oklch */ color: oklch(27.1% 0.112 283.6);
Tailwind
colors: {
  custom: {
    50: '#655689',
    500: '#23185a',
    950: '#000000',
  },
}
SCSS
$custom: #23185a;
$custom-light: #655689;
$custom-dark: #000000;
JSON
{
  "hex": "#23185a",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 250,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27065,
    "c": 0.11216,
    "h": 283.6
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#23185A
secondary
#83913D
accent
#E147C7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #23185A

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

Preview Lab → · Contrast checker → · Palette generator →

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