#230846#230846

#230846 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.105 H 296.6°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#230846
RGBrgb(35, 8, 70)
HSLhsl(266, 79%, 15%)
HSVhsv(266, 89%, 27%)
CMYKcmyk(50%, 88.6%, 0%, 72.5%)
CIE-LABlab(8.77, 28.60, -32.91)
CIE-LCHlch(8.77, 43.60, 310.99°)
OKLaboklab(22.66% 0.0472 -0.0943)
OKLCHoklch(22.66% 0.105 296.6)
XYZxyz(1.8852, 0.9731, 5.8817)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230846 #2B4608
analogous
#080C46 #230846 #420846
triadic
#230846 #462308 #084623
tetradic
#230846 #46080C #2B4608 #084642
square
#230846 #46080C #2B4608 #084642
split-complementary
#230846 #464208 #0C4608
monochromatic
#0E031B #0E031B #230846 #3E0E7D #5A15B4

Accessibility & contrast

On white

17.58
#230846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230846
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230846#FFFFFF#000000##FFFFFF
##2308461.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001845
Tritanopia (blue-blind)
#191927
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230846;
/* rgb */ color: rgb(35, 8, 70);
/* oklch */ color: oklch(22.7% 0.105 296.6);
Tailwind
colors: {
  custom: {
    50: '#634b7a',
    500: '#230846',
    950: '#000000',
  },
}
SCSS
$custom: #230846;
$custom-light: #634b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#230846",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 266.129,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22658,
    "c": 0.10545,
    "h": 296.6
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#230846
secondary
#5B8426
accent
#F632A1
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230846

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

Preview Lab → · Contrast checker → · Palette generator →

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