#231458#231458

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

Color values

HEX#231458
RGBrgb(35, 20, 88)
HSLhsl(253, 63%, 21%)
HSVhsv(253, 77%, 35%)
CMYKcmyk(60.2%, 77.3%, 0%, 65.5%)
CIE-LABlab(13.00, 27.65, -38.36)
CIE-LCHlch(13.00, 47.29, 305.78°)
OKLaboklab(26.21% 0.0306 -0.1104)
OKLCHoklch(26.21% 0.115 285.5)
XYZxyz(2.7042, 1.5621, 9.3896)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231458 #495814
analogous
#142758 #231458 #451458
triadic
#231458 #582314 #145823
tetradic
#231458 #581427 #495814 #145845
square
#231458 #581427 #495814 #145845
split-complementary
#231458 #584514 #275814
monochromatic
#0A0619 #0F0926 #231458 #371F8A #4B2BBC

Accessibility & contrast

On white

16.00
#231458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#231458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231458
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231458#FFFFFF#000000##FFFFFF
##2314581.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#001F57
Tritanopia (blue-blind)
#0A2634
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231458;
/* rgb */ color: rgb(35, 20, 88);
/* oklch */ color: oklch(26.2% 0.115 285.5);
Tailwind
colors: {
  custom: {
    50: '#655388',
    500: '#231458',
    950: '#000000',
  },
}
SCSS
$custom: #231458;
$custom-light: #655388;
$custom-dark: #000000;
JSON
{
  "hex": "#231458",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 253.235,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.2621,
    "c": 0.11455,
    "h": 285.5
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#231458
secondary
#7D9038
accent
#E642C2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231458

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

Preview Lab → · Contrast checker → · Palette generator →

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