#230945#230945

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

Color values

HEX#230945
RGBrgb(35, 9, 69)
HSLhsl(266, 77%, 15%)
HSVhsv(266, 87%, 27%)
CMYKcmyk(49.3%, 87%, 0%, 72.9%)
CIE-LABlab(8.84, 27.77, -32.07)
CIE-LCHlch(8.84, 42.43, 310.89°)
OKLaboklab(22.68% 0.0466 -0.0919)
OKLCHoklch(22.68% 0.103 296.9)
XYZxyz(1.8647, 0.9823, 5.7204)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230945 #2B4509
analogous
#090D45 #230945 #410945
triadic
#230945 #452309 #094523
tetradic
#230945 #45090D #2B4509 #094541
square
#230945 #45090D #2B4509 #094541
split-complementary
#230945 #454109 #0D4509
monochromatic
#0E041B #0E041B #230945 #3E107B #5A17B1

Accessibility & contrast

On white

17.55
#230945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#230945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230945
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230945#FFFFFF#000000##FFFFFF
##2309451.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001844
Tritanopia (blue-blind)
#1A1927
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230945;
/* rgb */ color: rgb(35, 9, 69);
/* oklch */ color: oklch(22.7% 0.103 296.9);
Tailwind
colors: {
  custom: {
    50: '#624b79',
    500: '#230945',
    950: '#000000',
  },
}
SCSS
$custom: #230945;
$custom-light: #624b79;
$custom-dark: #000000;
JSON
{
  "hex": "#230945",
  "rgb": {
    "r": 35,
    "g": 9,
    "b": 69
  },
  "hsl": {
    "h": 266,
    "s": 76.923,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22679,
    "c": 0.10299,
    "h": 296.9
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#230945
secondary
#5B8327
accent
#F334A1
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230945

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

Preview Lab → · Contrast checker → · Palette generator →

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