#231163#231163

#231163 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.133 H 283.0°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#231163
RGBrgb(35, 17, 99)
HSLhsl(253, 71%, 23%)
HSVhsv(253, 83%, 39%)
CMYKcmyk(64.6%, 82.8%, 0%, 61.2%)
CIE-LABlab(13.58, 33.00, -44.77)
CIE-LCHlch(13.58, 55.61, 306.40°)
OKLaboklab(26.98% 0.0299 -0.1291)
OKLCHoklch(26.98% 0.133 283)
XYZxyz(3.1450, 1.6589, 11.9564)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231163 #516311
analogous
#112863 #231163 #4C1163
triadic
#231163 #632311 #116323
tetradic
#231163 #631128 #516311 #11634C
square
#231163 #631128 #516311 #11634C
split-complementary
#231163 #634C11 #286311
monochromatic
#09041A #11082F #231163 #351A97 #4823CB

Accessibility & contrast

On white

15.77
#231163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#231163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231163
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231163#FFFFFF#000000##FFFFFF
##2311631.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002565
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#00293A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231163;
/* rgb */ color: rgb(35, 17, 99);
/* oklch */ color: oklch(27.0% 0.133 283.0);
Tailwind
colors: {
  custom: {
    50: '#685290',
    500: '#231163',
    950: '#000000',
  },
}
SCSS
$custom: #231163;
$custom-light: #685290;
$custom-dark: #000000;
JSON
{
  "hex": "#231163",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 253.171,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.26983,
    "c": 0.1325,
    "h": 283
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#231163
secondary
#859B34
accent
#ED3AC6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231163

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

Preview Lab → · Contrast checker → · Palette generator →

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