#230844#230844

#230844 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.4% C 0.103 H 297.7°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#230844
RGBrgb(35, 8, 68)
HSLhsl(267, 79%, 15%)
HSVhsv(267, 88%, 27%)
CMYKcmyk(48.5%, 88.2%, 0%, 73.3%)
CIE-LABlab(8.55, 28.01, -31.84)
CIE-LCHlch(8.55, 42.41, 311.34°)
OKLaboklab(22.45% 0.0479 -0.0912)
OKLCHoklch(22.45% 0.103 297.7)
XYZxyz(1.8231, 0.9483, 5.5547)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230844 #294408
analogous
#080B44 #230844 #410844
triadic
#230844 #442308 #084423
tetradic
#230844 #44080B #294408 #084441
square
#230844 #44080B #294408 #084441
split-complementary
#230844 #444108 #0B4408
monochromatic
#0E031B #0E031B #230844 #3F0E7B #5B15B2

Accessibility & contrast

On white

17.65
#230844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230844
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230844#FFFFFF#000000##FFFFFF
##2308441.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#1A1926
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230844;
/* rgb */ color: rgb(35, 8, 68);
/* oklch */ color: oklch(22.4% 0.103 297.7);
Tailwind
colors: {
  custom: {
    50: '#624b78',
    500: '#230844',
    950: '#000000',
  },
}
SCSS
$custom: #230844;
$custom-light: #624b78;
$custom-dark: #000000;
JSON
{
  "hex": "#230844",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 267,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22445,
    "c": 0.10301,
    "h": 297.7
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#230844
secondary
#598226
accent
#F5329E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230844

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

Preview Lab → · Contrast checker → · Palette generator →

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