#230643#230643

#230643 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.104 H 298.9°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#230643
RGBrgb(35, 6, 67)
HSLhsl(269, 84%, 14%)
HSVhsv(269, 91%, 26%)
CMYKcmyk(47.8%, 91%, 0%, 73.7%)
CIE-LABlab(8.06, 28.83, -31.94)
CIE-LCHlch(8.06, 43.03, 312.08°)
OKLaboklab(22.07% 0.0505 -0.0914)
OKLCHoklch(22.07% 0.104 298.9)
XYZxyz(1.7711, 0.8928, 5.3881)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230643 #264306
analogous
#060743 #230643 #420643
triadic
#230643 #432306 #064323
tetradic
#230643 #430607 #264306 #064342
square
#230643 #430607 #264306 #064342
split-complementary
#230643 #434206 #074306
monochromatic
#0F031C #0F031C #230643 #400B7B #5E10B3

Accessibility & contrast

On white

17.82
#230643 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230643 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230643
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230643#FFFFFF#000000##FFFFFF
##2306431.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230643;
/* rgb */ color: rgb(35, 6, 67);
/* oklch */ color: oklch(22.1% 0.104 298.9);
Tailwind
colors: {
  custom: {
    50: '#624a78',
    500: '#230643',
    950: '#000000',
  },
}
SCSS
$custom: #230643;
$custom-light: #624a78;
$custom-dark: #000000;
JSON
{
  "hex": "#230643",
  "rgb": {
    "r": 35,
    "g": 6,
    "b": 67
  },
  "hsl": {
    "h": 268.525,
    "s": 83.562,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22073,
    "c": 0.10443,
    "h": 298.9
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#230643
secondary
#558322
accent
#FA2E99
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230643

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

Preview Lab → · Contrast checker → · Palette generator →

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