#231655#231655

#231655 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.2% C 0.108 H 285.8°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#231655
RGBrgb(35, 22, 85)
HSLhsl(252, 59%, 21%)
HSVhsv(252, 74%, 33%)
CMYKcmyk(58.8%, 74.1%, 0%, 66.7%)
CIE-LABlab(13.15, 25.38, -36.08)
CIE-LCHlch(13.15, 44.11, 305.12°)
OKLaboklab(26.23% 0.0293 -0.1037)
OKLCHoklch(26.23% 0.108 285.8)
XYZxyz(2.6192, 1.5869, 8.7609)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231655 #485516
analogous
#162855 #231655 #421655
triadic
#231655 #552316 #165523
tetradic
#231655 #551628 #485516 #165542
square
#231655 #551628 #485516 #165542
split-complementary
#231655 #554216 #285516
monochromatic
#0A0618 #0F0924 #231655 #372386 #4B2FB6

Accessibility & contrast

On white

15.94
#231655 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#231655 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231655
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231655#FFFFFF#000000##FFFFFF
##2316551.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002457
Deuteranopia (green-blind)
#002054
Tritanopia (blue-blind)
#0E2633
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231655;
/* rgb */ color: rgb(35, 22, 85);
/* oklch */ color: oklch(26.2% 0.108 285.8);
Tailwind
colors: {
  custom: {
    50: '#645486',
    500: '#231655',
    950: '#000000',
  },
}
SCSS
$custom: #231655;
$custom-light: #645486;
$custom-dark: #000000;
JSON
{
  "hex": "#231655",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 85
  },
  "hsl": {
    "h": 252.381,
    "s": 58.879,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26227,
    "c": 0.10776,
    "h": 285.8
  },
  "luminance": 0.01587
}

Semantic roles & 50–950 ramp

primary
#231655
secondary
#7B8C3A
accent
#E246C2
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231655

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

Preview Lab → · Contrast checker → · Palette generator →

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