#231664#231664

#231664 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.8% C 0.128 H 281.7°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#231664
RGBrgb(35, 22, 100)
HSLhsl(250, 64%, 24%)
HSVhsv(250, 78%, 39%)
CMYKcmyk(65%, 78%, 0%, 60.8%)
CIE-LABlab(14.69, 30.52, -43.62)
CIE-LCHlch(14.69, 53.23, 304.98°)
OKLaboklab(27.79% 0.026 -0.1258)
OKLCHoklch(27.79% 0.128 281.7)
XYZxyz(3.2796, 1.8510, 12.2386)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231664 #576416
analogous
#163064 #231664 #4A1664
triadic
#231664 #642316 #166423
tetradic
#231664 #641630 #576416 #16644A
square
#231664 #641630 #576416 #16644A
split-complementary
#231664 #644A16 #306416
monochromatic
#090619 #110B32 #231664 #352196 #462CC8

Accessibility & contrast

On white

15.33
#231664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231664
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231664#FFFFFF#000000##FFFFFF
##2316641.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002263
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231664;
/* rgb */ color: rgb(35, 22, 100);
/* oklch */ color: oklch(27.8% 0.128 281.7);
Tailwind
colors: {
  custom: {
    50: '#675591',
    500: '#231664',
    950: '#000000',
  },
}
SCSS
$custom: #231664;
$custom-light: #675591;
$custom-dark: #000000;
JSON
{
  "hex": "#231664",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 250,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27789,
    "c": 0.12842,
    "h": 281.7
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#231664
secondary
#8B9B3B
accent
#E741CB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231664

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

Preview Lab → · Contrast checker → · Palette generator →

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