#231159#231159

#231159 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.119 H 286.0°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#231159
RGBrgb(35, 17, 89)
HSLhsl(255, 68%, 21%)
HSVhsv(255, 81%, 35%)
CMYKcmyk(60.7%, 80.9%, 0%, 65.1%)
CIE-LABlab(12.48, 29.75, -39.90)
CIE-LCHlch(12.48, 49.77, 306.71°)
OKLaboklab(25.87% 0.033 -0.1149)
OKLCHoklch(25.87% 0.12 286)
XYZxyz(2.6962, 1.4793, 9.5927)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231159 #475911
analogous
#112359 #231159 #471159
triadic
#231159 #592311 #115923
tetradic
#231159 #591123 #475911 #115947
square
#231159 #591123 #475911 #115947
split-complementary
#231159 #594711 #235911
monochromatic
#0A051A #0F0726 #231159 #371B8C #4B25C0

Accessibility & contrast

On white

16.21
#231159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#231159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231159
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231159#FFFFFF#000000##FFFFFF
##2311591.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#092534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231159;
/* rgb */ color: rgb(35, 17, 89);
/* oklch */ color: oklch(25.9% 0.119 286.0);
Tailwind
colors: {
  custom: {
    50: '#655189',
    500: '#231159',
    950: '#000000',
  },
}
SCSS
$custom: #231159;
$custom-light: #655189;
$custom-dark: #000000;
JSON
{
  "hex": "#231159",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 255,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25874,
    "c": 0.1195,
    "h": 286
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#231159
secondary
#7A9234
accent
#EB3DBF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231159

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

Preview Lab → · Contrast checker → · Palette generator →

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