#231663#231663

#231663 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.7% C 0.127 H 281.9°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#231663
RGBrgb(35, 22, 99)
HSLhsl(250, 64%, 24%)
HSVhsv(250, 78%, 39%)
CMYKcmyk(64.6%, 77.8%, 0%, 61.2%)
CIE-LABlab(14.58, 30.17, -43.13)
CIE-LCHlch(14.58, 52.64, 304.98°)
OKLaboklab(27.68% 0.0262 -0.1243)
OKLCHoklch(27.68% 0.127 281.9)
XYZxyz(3.2315, 1.8318, 11.9852)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231663 #566316
analogous
#162F63 #231663 #491663
triadic
#231663 #632316 #166323
tetradic
#231663 #63162F #566316 #166349
square
#231663 #63162F #566316 #166349
split-complementary
#231663 #634916 #2F6316
monochromatic
#090619 #110B31 #231663 #352195 #462CC7

Accessibility & contrast

On white

15.37
#231663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231663
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231663#FFFFFF#000000##FFFFFF
##2316631.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002262
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231663;
/* rgb */ color: rgb(35, 22, 99);
/* oklch */ color: oklch(27.7% 0.127 281.9);
Tailwind
colors: {
  custom: {
    50: '#675590',
    500: '#231663',
    950: '#000000',
  },
}
SCSS
$custom: #231663;
$custom-light: #675590;
$custom-dark: #000000;
JSON
{
  "hex": "#231663",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 250.13,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27681,
    "c": 0.12708,
    "h": 281.9
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#231663
secondary
#8A9A3B
accent
#E741CB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030D
muted
#7A787D

Preview Lab

Preview with #231663

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

Preview Lab → · Contrast checker → · Palette generator →

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