#231356#231356

#231356 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.8% C 0.113 H 286.4°. Best body text is #FFFFFF at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#231356
RGBrgb(35, 19, 86)
HSLhsl(254, 64%, 21%)
HSVhsv(254, 78%, 34%)
CMYKcmyk(59.3%, 77.9%, 0%, 66.3%)
CIE-LABlab(12.57, 27.59, -37.70)
CIE-LCHlch(12.57, 46.72, 306.19°)
OKLaboklab(25.85% 0.032 -0.1084)
OKLCHoklch(25.85% 0.113 286.4)
XYZxyz(2.6052, 1.4948, 8.9535)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231356 #465613
analogous
#132456 #231356 #441356
triadic
#231356 #562313 #135623
tetradic
#231356 #561324 #465613 #135644
square
#231356 #561324 #465613 #135644
split-complementary
#231356 #564413 #245613
monochromatic
#0A0619 #0F0824 #231356 #371E88 #4C29BA

Accessibility & contrast

On white

16.17
#231356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231356
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231356#FFFFFF#000000##FFFFFF
##2313561.0016.171.3016.17
#FFFFFF16.171.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#001F55
Tritanopia (blue-blind)
#0D2533
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231356;
/* rgb */ color: rgb(35, 19, 86);
/* oklch */ color: oklch(25.8% 0.113 286.4);
Tailwind
colors: {
  custom: {
    50: '#655286',
    500: '#231356',
    950: '#000000',
  },
}
SCSS
$custom: #231356;
$custom-light: #655286;
$custom-dark: #000000;
JSON
{
  "hex": "#231356",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 254.328,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25847,
    "c": 0.11308,
    "h": 286.4
  },
  "luminance": 0.01495
}

Semantic roles & 50–950 ramp

primary
#231356
secondary
#798E36
accent
#E741BF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231356

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

Preview Lab → · Contrast checker → · Palette generator →

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