#231167#231167

#231167 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.4% C 0.138 H 282.0°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#231167
RGBrgb(35, 17, 103)
HSLhsl(253, 72%, 24%)
HSVhsv(253, 83%, 40%)
CMYKcmyk(66%, 83.5%, 0%, 59.6%)
CIE-LABlab(14.04, 34.29, -46.65)
CIE-LCHlch(14.04, 57.90, 306.32°)
OKLaboklab(27.44% 0.0286 -0.1346)
OKLCHoklch(27.44% 0.138 282)
XYZxyz(3.3410, 1.7373, 12.9886)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231167 #556711
analogous
#112A67 #231167 #4E1167
triadic
#231167 #672311 #116723
tetradic
#231167 #67112A #556711 #11674E
square
#231167 #67112A #556711 #11674E
split-complementary
#231167 #674E11 #2A6711
monochromatic
#09041A #110832 #231167 #351A9C #4722D0

Accessibility & contrast

On white

15.59
#231167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231167
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231167#FFFFFF#000000##FFFFFF
##2311671.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002669
Deuteranopia (green-blind)
#002165
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231167;
/* rgb */ color: rgb(35, 17, 103);
/* oklch */ color: oklch(27.4% 0.138 282.0);
Tailwind
colors: {
  custom: {
    50: '#695293',
    500: '#231167',
    950: '#000000',
  },
}
SCSS
$custom: #231167;
$custom-light: #695293;
$custom-dark: #000000;
JSON
{
  "hex": "#231167",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 252.558,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27439,
    "c": 0.1376,
    "h": 282
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#231167
secondary
#899F35
accent
#EE39C9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231167

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

Preview Lab → · Contrast checker → · Palette generator →

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