#231164#231164

#231164 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.134 H 282.8°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#231164
RGBrgb(35, 17, 100)
HSLhsl(253, 71%, 23%)
HSVhsv(253, 83%, 39%)
CMYKcmyk(65%, 83%, 0%, 60.8%)
CIE-LABlab(13.70, 33.33, -45.24)
CIE-LCHlch(13.70, 56.19, 306.38°)
OKLaboklab(27.1% 0.0296 -0.1305)
OKLCHoklch(27.1% 0.134 282.8)
XYZxyz(3.1931, 1.6781, 12.2098)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231164 #526411
analogous
#112864 #231164 #4C1164
triadic
#231164 #642311 #116423
tetradic
#231164 #641128 #526411 #11644C
square
#231164 #641128 #526411 #11644C
split-complementary
#231164 #644C11 #286411
monochromatic
#09041A #110830 #231164 #351A98 #4823CD

Accessibility & contrast

On white

15.72
#231164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#231164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231164
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231164#FFFFFF#000000##FFFFFF
##2311641.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002666
Deuteranopia (green-blind)
#002063
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231164;
/* rgb */ color: rgb(35, 17, 100);
/* oklch */ color: oklch(27.1% 0.134 282.8);
Tailwind
colors: {
  custom: {
    50: '#685291',
    500: '#231164',
    950: '#000000',
  },
}
SCSS
$custom: #231164;
$custom-light: #685291;
$custom-dark: #000000;
JSON
{
  "hex": "#231164",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 253.012,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27096,
    "c": 0.13378,
    "h": 282.8
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#231164
secondary
#869C35
accent
#EE3AC7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231164

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

Preview Lab → · Contrast checker → · Palette generator →

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