#231658#231658

#231658 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.112 H 284.8°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#231658
RGBrgb(35, 22, 88)
HSLhsl(252, 60%, 22%)
HSVhsv(252, 75%, 35%)
CMYKcmyk(60.2%, 75%, 0%, 65.5%)
CIE-LABlab(13.45, 26.41, -37.63)
CIE-LCHlch(13.45, 45.97, 305.06°)
OKLaboklab(26.53% 0.0287 -0.1082)
OKLCHoklch(26.53% 0.112 284.8)
XYZxyz(2.7410, 1.6356, 9.4019)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231658 #4B5816
analogous
#162A58 #231658 #441658
triadic
#231658 #582316 #165823
tetradic
#231658 #58162A #4B5816 #165844
square
#231658 #58162A #4B5816 #165844
split-complementary
#231658 #584416 #2A5816
monochromatic
#0A0618 #100A27 #231658 #362289 #4A2EBA

Accessibility & contrast

On white

15.82
#231658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#231658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231658
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231658#FFFFFF#000000##FFFFFF
##2316581.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245A
Deuteranopia (green-blind)
#002057
Tritanopia (blue-blind)
#0A2735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231658;
/* rgb */ color: rgb(35, 22, 88);
/* oklch */ color: oklch(26.5% 0.112 284.8);
Tailwind
colors: {
  custom: {
    50: '#655488',
    500: '#231658',
    950: '#000000',
  },
}
SCSS
$custom: #231658;
$custom-light: #655488;
$custom-dark: #000000;
JSON
{
  "hex": "#231658",
  "rgb": {
    "r": 35,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 251.818,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26529,
    "c": 0.11198,
    "h": 284.8
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#231658
secondary
#7F8F3B
accent
#E345C4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #231658

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

Preview Lab → · Contrast checker → · Palette generator →

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