#231561#231561

#231561 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.3% C 0.126 H 282.7°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#231561
RGBrgb(35, 21, 97)
HSLhsl(251, 64%, 23%)
HSVhsv(251, 78%, 38%)
CMYKcmyk(63.9%, 78.4%, 0%, 62%)
CIE-LABlab(14.15, 30.09, -42.50)
CIE-LCHlch(14.15, 52.07, 305.30°)
OKLaboklab(27.32% 0.0275 -0.1225)
OKLCHoklch(27.32% 0.126 282.7)
XYZxyz(3.1183, 1.7565, 11.4817)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231561 #536115
analogous
#152D61 #231561 #491561
triadic
#231561 #612315 #156123
tetradic
#231561 #61152D #536115 #156149
square
#231561 #61152D #536115 #156149
split-complementary
#231561 #614915 #2D6115
monochromatic
#090519 #110A2F #231561 #352093 #472BC6

Accessibility & contrast

On white

15.54
#231561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231561
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231561#FFFFFF#000000##FFFFFF
##2315611.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002663
Deuteranopia (green-blind)
#002160
Tritanopia (blue-blind)
#002A39
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231561;
/* rgb */ color: rgb(35, 21, 97);
/* oklch */ color: oklch(27.3% 0.126 282.7);
Tailwind
colors: {
  custom: {
    50: '#67548f',
    500: '#231561',
    950: '#000000',
  },
}
SCSS
$custom: #231561;
$custom-light: #67548f;
$custom-dark: #000000;
JSON
{
  "hex": "#231561",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 251.053,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27316,
    "c": 0.12555,
    "h": 282.7
  },
  "luminance": 0.01757
}

Semantic roles & 50–950 ramp

primary
#231561
secondary
#87983A
accent
#E740C9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #231561

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

Preview Lab → · Contrast checker → · Palette generator →

#231561 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva