#231155#231155

#231155 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.114 H 287.4°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#231155
RGBrgb(35, 17, 85)
HSLhsl(256, 67%, 20%)
HSVhsv(256, 80%, 33%)
CMYKcmyk(58.8%, 80%, 0%, 66.7%)
CIE-LABlab(12.05, 28.44, -37.88)
CIE-LCHlch(12.05, 47.37, 306.89°)
OKLaboklab(25.44% 0.0341 -0.109)
OKLCHoklch(25.44% 0.114 287.4)
XYZxyz(2.5328, 1.4140, 8.7320)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231155 #435511
analogous
#112155 #231155 #451155
triadic
#231155 #552311 #115523
tetradic
#231155 #551121 #435511 #115545
square
#231155 #551121 #435511 #115545
split-complementary
#231155 #554511 #215511
monochromatic
#0A051A #0E0722 #231155 #381B88 #4D25BB

Accessibility & contrast

On white

16.37
#231155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231155
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231155#FFFFFF#000000##FFFFFF
##2311551.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001E54
Tritanopia (blue-blind)
#0E2432
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231155;
/* rgb */ color: rgb(35, 17, 85);
/* oklch */ color: oklch(25.4% 0.114 287.4);
Tailwind
colors: {
  custom: {
    50: '#655186',
    500: '#231155',
    950: '#000000',
  },
}
SCSS
$custom: #231155;
$custom-light: #655186;
$custom-dark: #000000;
JSON
{
  "hex": "#231155",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 255.882,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.25444,
    "c": 0.11419,
    "h": 287.4
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#231155
secondary
#768E34
accent
#EA3EBC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231155

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

Preview Lab → · Contrast checker → · Palette generator →

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