#231165#231165

#231165 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.2% C 0.135 H 282.5°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#231165
RGBrgb(35, 17, 101)
HSLhsl(253, 71%, 23%)
HSVhsv(253, 83%, 40%)
CMYKcmyk(65.3%, 83.2%, 0%, 60.4%)
CIE-LABlab(13.81, 33.65, -45.71)
CIE-LCHlch(13.81, 56.76, 306.35°)
OKLaboklab(27.21% 0.0293 -0.1318)
OKLCHoklch(27.21% 0.135 282.5)
XYZxyz(3.2418, 1.6976, 12.4662)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231165 #536511
analogous
#112965 #231165 #4D1165
triadic
#231165 #652311 #116523
tetradic
#231165 #651129 #536511 #11654D
square
#231165 #651129 #536511 #11654D
split-complementary
#231165 #654D11 #296511
monochromatic
#09041A #110831 #231165 #351A99 #4723CE

Accessibility & contrast

On white

15.68
#231165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231165
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231165#FFFFFF#000000##FFFFFF
##2311651.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002667
Deuteranopia (green-blind)
#002064
Tritanopia (blue-blind)
#002A3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231165;
/* rgb */ color: rgb(35, 17, 101);
/* oklch */ color: oklch(27.2% 0.135 282.5);
Tailwind
colors: {
  custom: {
    50: '#685292',
    500: '#231165',
    950: '#000000',
  },
}
SCSS
$custom: #231165;
$custom-light: #685292;
$custom-dark: #000000;
JSON
{
  "hex": "#231165",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 252.857,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2721,
    "c": 0.13506,
    "h": 282.5
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#231165
secondary
#879D35
accent
#EE3AC7
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231165

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

Preview Lab → · Contrast checker → · Palette generator →

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