#23154B#23154B

#23154B is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.095 H 289.7°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#23154B
RGBrgb(35, 21, 75)
HSLhsl(256, 56%, 19%)
HSVhsv(256, 72%, 29%)
CMYKcmyk(53.3%, 72%, 0%, 70.6%)
CIE-LABlab(11.97, 22.61, -31.16)
CIE-LCHlch(11.97, 38.50, 305.96°)
OKLaboklab(25.08% 0.032 -0.0892)
OKLCHoklch(25.08% 0.095 289.7)
XYZxyz(2.2309, 1.4016, 6.8082)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23154B #3D4B15
analogous
#15224B #23154B #3E154B
triadic
#23154B #4B2315 #154B23
tetradic
#23154B #4B1522 #3D4B15 #154B3E
square
#23154B #4B1522 #3D4B15 #154B3E
split-complementary
#23154B #4B3E15 #224B15
monochromatic
#0B0718 #0D081B #23154B #39227B #5030AB

Accessibility & contrast

On white

16.40
#23154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#23154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23154B
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23154B#FFFFFF#000000##FFFFFF
##23154B1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204D
Deuteranopia (green-blind)
#001E4A
Tritanopia (blue-blind)
#16222D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23154b;
/* rgb */ color: rgb(35, 21, 75);
/* oklch */ color: oklch(25.1% 0.095 289.7);
Tailwind
colors: {
  custom: {
    50: '#62537e',
    500: '#23154b',
    950: '#000000',
  },
}
SCSS
$custom: #23154b;
$custom-light: #62537e;
$custom-dark: #000000;
JSON
{
  "hex": "#23154b",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 255.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25082,
    "c": 0.09481,
    "h": 289.7
  },
  "luminance": 0.01402
}

Semantic roles & 50–950 ramp

primary
#23154B
secondary
#708339
accent
#E048B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23154B

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

Preview Lab → · Contrast checker → · Palette generator →

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