#231058#231058

#231058 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.6% C 0.119 H 286.6°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#231058
RGBrgb(35, 16, 88)
HSLhsl(256, 69%, 20%)
HSVhsv(256, 82%, 35%)
CMYKcmyk(60.2%, 81.8%, 0%, 65.5%)
CIE-LABlab(12.17, 29.98, -39.72)
CIE-LCHlch(12.17, 49.77, 307.05°)
OKLaboklab(25.63% 0.0341 -0.1143)
OKLCHoklch(25.63% 0.119 286.6)
XYZxyz(2.6394, 1.4323, 9.3680)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231058 #455810
analogous
#102158 #231058 #471058
triadic
#231058 #582310 #105823
tetradic
#231058 #581021 #455810 #105847
square
#231058 #581021 #455810 #105847
split-complementary
#231058 #584710 #215810
monochromatic
#0A051A #0E0724 #231058 #38198C #4C23C0

Accessibility & contrast

On white

16.32
#231058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#231058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231058
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231058#FFFFFF#000000##FFFFFF
##2310581.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225A
Deuteranopia (green-blind)
#001E57
Tritanopia (blue-blind)
#0B2433
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231058;
/* rgb */ color: rgb(35, 16, 88);
/* oklch */ color: oklch(25.6% 0.119 286.6);
Tailwind
colors: {
  custom: {
    50: '#655188',
    500: '#231058',
    950: '#000000',
  },
}
SCSS
$custom: #231058;
$custom-light: #655188;
$custom-dark: #000000;
JSON
{
  "hex": "#231058",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 88
  },
  "hsl": {
    "h": 255.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25627,
    "c": 0.11933,
    "h": 286.6
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#231058
secondary
#789132
accent
#EC3CBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231058

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

Preview Lab → · Contrast checker → · Palette generator →

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