#230843#230843

#230843 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.3% C 0.102 H 298.3°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#230843
RGBrgb(35, 8, 67)
HSLhsl(267, 79%, 15%)
HSVhsv(267, 88%, 26%)
CMYKcmyk(47.8%, 88.1%, 0%, 73.7%)
CIE-LABlab(8.45, 27.72, -31.31)
CIE-LCHlch(8.45, 41.81, 311.52°)
OKLaboklab(22.34% 0.0483 -0.0896)
OKLCHoklch(22.34% 0.102 298.3)
XYZxyz(1.7928, 0.9362, 5.3954)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230843 #284308
analogous
#080A43 #230843 #410843
triadic
#230843 #432308 #084323
tetradic
#230843 #43080A #284308 #084341
square
#230843 #43080A #284308 #084341
split-complementary
#230843 #434108 #0A4308
monochromatic
#0E031B #0E031B #230843 #400F7A #5C15B0

Accessibility & contrast

On white

17.69
#230843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230843
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230843#FFFFFF#000000##FFFFFF
##2308431.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001842
Tritanopia (blue-blind)
#1B1825
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230843;
/* rgb */ color: rgb(35, 8, 67);
/* oklch */ color: oklch(22.3% 0.102 298.3);
Tailwind
colors: {
  custom: {
    50: '#624b78',
    500: '#230843',
    950: '#000000',
  },
}
SCSS
$custom: #230843;
$custom-light: #624b78;
$custom-dark: #000000;
JSON
{
  "hex": "#230843",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 267.458,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22339,
    "c": 0.10179,
    "h": 298.3
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#230843
secondary
#578125
accent
#F5339C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230843

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

Preview Lab → · Contrast checker → · Palette generator →

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