#231652#231652

#231652 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.103 H 286.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#231652
RGBrgb(35, 22, 82)
HSLhsl(253, 58%, 20%)
HSVhsv(253, 73%, 32%)
CMYKcmyk(57.3%, 73.2%, 0%, 67.8%)
CIE-LABlab(12.86, 24.35, -34.51)
CIE-LCHlch(12.86, 42.24, 305.20°)
OKLaboklab(25.93% 0.0298 -0.0991)
OKLCHoklch(25.93% 0.103 286.7)
XYZxyz(2.5026, 1.5402, 8.1464)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231652 #455216
analogous
#162752 #231652 #411652
triadic
#231652 #522316 #165223
tetradic
#231652 #521627 #455216 #165241
square
#231652 #521627 #455216 #165241
split-complementary
#231652 #524116 #275216
monochromatic
#0A0618 #0E0922 #231652 #382382 #4C30B3

Accessibility & contrast

On white

16.06
#231652 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#231652 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231652
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231652#FFFFFF#000000##FFFFFF
##2316521.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002051
Tritanopia (blue-blind)
#112531
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #231652;
/* rgb */ color: rgb(35, 22, 82);
/* oklch */ color: oklch(25.9% 0.103 286.7);
Tailwind
colors: {
  custom: {
    50: '#645483',
    500: '#231652',
    950: '#000000',
  },
}
SCSS
$custom: #231652;
$custom-light: #645483;
$custom-dark: #000000;
JSON
{
  "hex": "#231652",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 82
  },
  "hsl": {
    "h": 253,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2593,
    "c": 0.10348,
    "h": 286.7
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#231652
secondary
#78893A
accent
#E147C0
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231652

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

Preview Lab → · Contrast checker → · Palette generator →

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